LeetCode
K Closest Points to Origin
Click
here
for an explanation.