add another solution with left and right expand array to calculate Largest Rectangle in Histogram