leetcode: largest rectangle in histogram