Amazon Interview Question

Q1) Two sum variant Q2) K closest points to origin