binary search tree & CTCI P118 rank of integer in stream of integers
MaximumSubarray & LargestRectangleInHistogram