4 views
# LC6487 Monotonic Stack Pitfalls Notes on **monotonic stack** problems — pitfalls. - 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 [real-time AI interview helper](https://www.linkjob.ai/), a tool for coding interview practice. Personal study notes.*