#Program NamePatternTimeSpaceKey IdeaLevel
1isValidParentheses▼StackO(n)O(n)Push opens; on close, check if top of stack is the matching open bracket.Simple
2dailyTemperatures▼Monotonic StackO(n)O(n)Maintain a decreasing stack of indices; pop when a warmer day is found.Middle
3slidingWindowMaximum▼Monotonic DequeO(n)O(k)Keep a decreasing deque of indices; front is always the max of current window.Complex