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

27th Mar 2018, 2:35 AM
Ananthavalli A
Ananthavalli A - avatar
1 Answer
0
How do you form a rectangle in your histogram ? How does your input describe the histogram ?
26th Jul 2019, 9:44 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar