Largest Rectangle in a Histogram

POJ - 2559