Bloomberg Interview Question

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