Algo Notes
Search...
Ctrl + K
Stack & Queues
Monotonic Stack
We maintain a stack with non-decreasing or non-increasing elements
Previous
Stack & Queues
Next
Priority Queues
Last updated
2 years ago