MAX histogram area


i am not getting the right answer. plz check the code.