Question d’entretien chez Microsoft

algorithm for finding the largest rectangle area in the bar graph