https://jsdiet.com/kth-largest-element-in-an-array-leetcode-solution-javascript/