Largest Rectangle in Histogram

Google it..