Rosetta Problems

Random Pick Index

https://leetcode.com/problems/random-pick-index