DevLift

Blog

Tutorials, guides, and insights to help you become a better developer.

Clear
Backtracking is just DFS with an undo step. Master the three templates for subsets, permutations, and combinations — and the one mistake that ruins every solution.
AdminFebruary 20, 20265 min read
N-Queens separates candidates who know backtracking from those who understand constraint propagation. The O(1) diagonal check using sets is what interviewers want to see.
AdminFebruary 19, 20264 min read
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
Reverse a Linked List — Iterative and Recursive
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
PreviousPage 3 of 4Next

Stay in the Loop

Get notified about new courses, tutorials, and learning tips. No spam, unsubscribe anytime.