单调栈

Login before discuss