Skip to content
29 patterns covering 95% of coding interview problems

Identify the Right DSA Pattern in 30 Seconds

Stop memorizing 500 LeetCode solutions. Learn 29 patterns and recognize which one to use — instantly.

How It Works

Three steps to go from confused to confident on any DSA problem.

Read the Problem

Identify the input type (array, string, tree, graph) and what you are looking for (subarray, path, combination, ordering).

Follow the Decision Tree

Answer 3-5 simple yes/no questions about the problem constraints. Each answer narrows down the pattern space.

Apply the Pattern

Get the matching pattern with pseudocode, time complexity, key indicators, and example problems you can practice on.

Want All 29 Patterns with Detailed Walkthroughs?

Get the complete guide with in-depth explanations, animated visualizations, complexity analysis, and curated practice problems for every pattern.