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.
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
Most teams hit 'use client' everywhere and wonder why their bundle explodes. The fix is a single mental model: keep the boundary as low as possible, and use composition to thread server-rendered content through client islands.
AdminFebruary 16, 20267 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.
AdminFebruary 13, 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
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.
AdminFebruary 10, 20267 min read
Kafka and RabbitMQ solve different problems. Pick the wrong one and you'll either miss replay when you need it, or run a cluster for work that a queue handles fine.
AdminFebruary 9, 202611 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