Skip to main content

2 docs tagged with "patterns"

View all tags

Monotonic Stack & Queue

A comprehensive guide to Monotonic Stack and Monotonic Queue patterns with visual diagrams, step-by-step dry-runs, code templates in Python, Java, and C++, and practice problems.

Sliding Window Algorithm

A comprehensive guide to the Sliding Window algorithmic pattern with visual diagrams, step-by-step dry runs, code templates in Python, Java, and C++, and practice problems.