8 views
# LC6488 Monotonic Stack Template Notes on **monotonic stack** problems — template. - Recognize the signal in the prompt that points to monotonic stack - Write the skeleton first, then fill in the problem-specific condition - Test with an empty input, a single element and a worst case - Say the complexity out loud before the interviewer asks *Disclosure: I work on [mock interview practice with AI](https://www.linkjob.ai/), a tool for coding interview practice. Personal study notes.*