2017/9/29
Nothing big.
Nothing big.
Thoughts about three followup questions...
Explain how greedy solution can work for wiggle sort.
A linear time voting algorithm to find the majority element in a non-sorted array.
Nothing big.
Analysis of reversoir sampling problem and explanation.
I often feel confused about bit manipulation. So here is a little bit summary.