Question 1: https://leetcode.com/problems/random-pick-with-weight/ Question 2: https://leetcode.com/problems/k-closest-points-to-origin/