Kth Smallest Element Heap Leetcode