Bloomberg interview question

Reverse an integer; Find the max square area in the histogram.