Amazon Interview Question

1. k closest points to origin 2. 2 sum variation