0
Find the largest rectangle in the histogram. If the input is {6,4,5,1,4,5,6} and the output is 12. How to proceed
sample input is {6,4,5,1,4,5,6} and the sample output is 12
1 Answer
0
How do you form a rectangle in your histogram ? How does your input describe the histogram ?