Amazon Interview Question

Leetcode: K Closest Points to Origin