Writing / 63 entries
A public digital garden — bugs, breakthroughs, and the chaos of building things on the web.
Mastering the LIS problem with Dynamic Programming and Binary Search optimization.
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.
The data structure that keeps itself sorted — automatically.
Mastering Breadth-First and Depth-First Search.
Understanding the "Why" behind the most fundamental data structure.