Blog
Tutorials, guides, and insights to help you become a better developer.
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.
AdminApril 10, 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.
AdminApril 8, 20265 min read
Build a spec-compliant Promise from scratch in 75 lines of JavaScript. Understand state machines, microtask scheduling, thenable resolution, and why .then(s,e) and .then(s).catch(e) aren't the same.
AdminApril 6, 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.
AdminApril 3, 20265 min read
React Context is great for static config but a footgun for dynamic state. Learn how to split contexts by update frequency and separate state from dispatch.
AdminApril 2, 20267 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.
AdminMarch 31, 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.
AdminMarch 30, 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.
AdminMarch 27, 20266 min read
Learn how React.lazy, Suspense boundaries, and React 19 concurrent features (useTransition, useDeferredValue) eliminate bundle bloat and loading jank.
AdminMarch 26, 20267 min read