第一部分 拒绝采样 rejection sampling
【382】Linked List Random Node
【398】Random Pick Index
第二部分 水塘抽样 reservoir sampling
【470】Implement Rand10() Using Rand7()
【478】Generate Random Point in a Circle
【382】Linked List Random Node
【398】Random Pick Index
【470】Implement Rand10() Using Rand7()
【478】Generate Random Point in a Circle