/learn/dsa
DSA
Data structures, algorithms and patterns for interviews.
Intermediate
Binary Search and Its Variants
Binary search in ten lines, then the variants interviews actually test: lower/upper bound, binary search on the answer, and rotated arrays, with Python code.
dsabinary searchalgorithmsleetcodeinterview prepBeginner
Big-O Notation and Complexity Analysis Made Simple
A practical introduction to Big-O notation that explains how to reason about time and space cost without heavy math. Covers common growth classes and how to analyze real code.
Big-OComplexityAlgorithmsTime ComplexitySpace ComplexityIntermediate
Array and String Patterns: Two Pointers and Sliding Window
Two of the most reusable techniques for array and string problems. Learn when to use opposing pointers and how a sliding window turns nested loops into a single pass.
Two PointersSliding WindowArraysStringsPatternsIntermediate
Hashing and Hash Maps: The Interview Workhorse
How hash maps deliver average constant-time lookups, why collisions matter, and the problem patterns where a map turns slow solutions into fast ones.
HashingHash MapsHash TablesSetsCollisionsFrequency CountingIntermediate
Trees and Graphs: BFS and DFS Traversal
The two foundational graph traversals explained with trees, grids, and general graphs. Covers when to prefer breadth-first over depth-first and how to avoid revisiting nodes.
TreesGraphsBFSDFSTraversalShortest PathAdvanced
Dynamic Programming: From Recursion to Memoization and Tabulation
A step-by-step path from naive recursion to efficient dynamic programming. Learn to spot overlapping subproblems and convert them into memoized or tabulated solutions.
Dynamic ProgrammingMemoizationTabulationRecursionOptimization
WORK WITH ME
Need software, an app or cloud work done?
I build scalable web platforms, mobile apps, AI-driven systems and cloud infrastructure for businesses. Tell me what you're building.