| largest-rectangle-in-histogram/submissions

O(N) solution AC