* Q. You are given a histogram represented by an array arr[], where each element of the array denotes * the height of the bars in the histogram. All bars have the same width of 1 unit.