Popular Posts

Friday, March 2, 2012

Problem:
Find the rectangle with maximum area under a histogram in linear time.
Solution:

Complexity:
O(n)
Code:

No comments:

Post a Comment