give array integer height represent histograms bar height width bar 1 return area large rectangle histogram Example 1input height 215623output 10explanation the histogram width bar 1the large rectangle show red area area 10 unitsexample 2input height 24output 4 constraints1 heightslength 1050 heightsi 104