리코드1 알고리즘 Monotonic Stack 문제 여러분, 안녕하세요. STACK은 다 알고 있는데 단조로운 스택이란 무엇일까요? Monotonic Stack is a special variation of the typical data structure Stack and appeared in many interview questions. As its name shows, monotonic stack contains all features that a normal stack has and its elements are all monotonic decreasing or increasing. It just uses some ingenious logic to keep the elements in the stack orderly (monotone increasi.. 2021. 12. 29. 이전 1 다음