Dive into largest_rectangle_in_histogram on leetcode.