Given the coordinates of n points, find the k points closest to a central point. This question was asked in interviews at LinkedIn. Sample Input and output: Points: [ [1, 3], [-2, 2], [4, 5], [0, 1], [10, 0] ] k: 2 Central point: [0, 0] Output: [ [0, 1], [-2, 2] ] The…