Writing / 63 entries
A public digital garden — bugs, breakthroughs, and the chaos of building things on the web.
Solving the subtree matching problem with a clever serialization trick that beats 93% of submissions.
Mastering graph traversal by thinking backwards: How to find cells that flow to both oceans using BFS.
Master the art of merging multiple sorted linked lists using Min-Heaps and Divide & Conquer strategies.
Master the Monotonic Deque approach to efficiently track the maximum value in a sliding window.
Master the art of merging intervals with a clean, three-phase linear approach.
Solving a classic DFS problem with both elegant recursion and a high-performance explicit stack.