Data Structures And Algorithms
Friday, March 2, 2012
Problem:
Find the rectangle with maximum area under a histogram in linear time.
Solution:
Complexity:
O(n)
Code:
‹
›
Home
View web version