Explain Prims Algorithm Leetcode Sql Practice