kClosest = function(points, K) {
    const [ left, right ] = [ 0, (points.length - 1) ];

    quickSelect(points, K, left, right);

    return points.slice(0, K)
}
https://leetcode.com/problems/k-closest-points-to-origin/
Time O(log(K)) | Space O(K)
@param {number[][]} points
@param {number} k
@return {number[][]}