Min Heapify Algorithm Leetcode Sql Problems