Blog
Tutorials, guides, and insights to help you become a better developer.
LC 297 is a Hard but the insight is simple: null markers make any traversal unambiguous. Learn preorder DFS and BFS serialization, plus the BST shortcut for LC 449.
AdminAugust 2, 20268 min read
Grid problems are graph problems in disguise. Learn the DFS/BFS traversal pattern that unlocks Number of Islands, Clone Graph, and Pacific Atlantic Water Flow.
AdminAugust 2, 20267 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.
AdminAugust 2, 20266 min read