Rosetta Problems

Random Pick with Weight

https://leetcode.com/problems/random-pick-with-weight