Blog
Tutorials, guides, and insights to help you become a better developer.
The duplicate-skip pattern is what separates Combination Sum I from II. Master sort + skip, in-place grid marking for Word Search, and why `i > start` matters.
AdminFebruary 17, 20265 min read
BST problems aren't just binary tree problems — the sorted-order property changes everything. Master validate, kth smallest, and the iterator pattern that shows up in real interviews.
AdminFebruary 12, 20265 min read
Three linked list problems, one underlying playbook: dummy heads, divide-and-conquer merging, and the find-middle/reverse/interleave pipeline that makes LC 143 tractable.
AdminFebruary 6, 20265 min read
One BFS template, three interview problems. Level-order, zigzag traversal, and right side view all reduce to the same queue loop with a small variation each time.
AdminFebruary 5, 20265 min read
Post-order DFS, the global-state side-effect trick, and nested tree matching — four problems that teach you everything about recursive tree traversal in JavaScript.
AdminFebruary 3, 20266 min read

The three-pointer pattern is the foundation of every linked list reversal. Understand it once and LC 206, 92, and 25 become variations on the same idea.
AdminJanuary 27, 20264 min read
Two matrix search problems, two completely different optimal approaches. Learn when to use virtual 1D binary search vs the staircase elimination — the distinction that trips up most candidates.
AdminJanuary 26, 20266 min read
A rotated sorted array still has structure you can exploit. Learn the one insight that makes O(log n) search possible — and how to handle duplicates.
AdminJanuary 23, 20264 min read
Binary search isn't just for sorted arrays. Learn to search the range of possible answers to crack Koko Eating Bananas, Ship Packages, and a whole category of hard problems.
AdminJanuary 20, 20267 min read