Patterns & Techniques

Learn powerful problem-solving patterns and techniques used across a wide range of algorithmic challenges.


Welcome to the Patterns & Techniques module of Nabdev.

This section provides structured guidance on commonly used patterns in algorithm design, helping you recognize and apply them efficiently during problem-solving.

This module is expanding! More patterns and examples are on the way. Feel free to contribute or suggest improvements on GitHub @msnabiel.

Patterns

Explore key techniques used by top problem solvers.

Sliding Window

Optimize problems involving arrays and sequences using a dynamic window to reduce time complexity.

View

Two Pointers

Tackle sorting, searching, and partitioning problems efficiently using the two-pointer technique.

View

Backtracking

Systematically explore all possibilities for combinatorial problems like permutations, combinations, and more.

View

Recursion

Master the art of solving problems by breaking them into smaller, identical subproblems using recursion.

View