Writing / 65 entries
A public digital garden — bugs, breakthroughs, and the chaos of building things on the web.
Detect cycles in directed graphs using DFS and BFS Topological Sort (Kahn's Algorithm).
Master the O(1) space trick: using the matrix itself as storage to zero out rows and columns.
Solving the subtree matching problem with a clever serialization trick that beats 93% of submissions.
Understanding Binary Search from one of the book that I think is good for students
Mastering the LIS problem with Dynamic Programming and Binary Search optimization.
From Blank IDE to Google Play: A Solo Engineer's Blueprint for Building AI-Powered Mobile Apps with Flutter and Firebase
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.