← home

Writing / 63 entries

Code, Solutions
& Discovery.

A public digital garden — bugs, breakthroughs, and the chaos of building things on the web.

↳ python
clear↓ newest
alldsa34python29interview26leetcode22algorithms16guide11
17
May 7, 2026#leetcode#python

LeetCode 73: Set Matrix Zeroes

Master the O(1) space trick: using the matrix itself as storage to zero out rows and columns.

18
May 6, 2026#leetcode#python

LeetCode 572: Subtree of Another Tree

Solving the subtree matching problem with a clever serialization trick that beats 93% of submissions.

19
Apr 25, 2026#algorithms#python

LeetCode 300: Longest Increasing Subsequence

Mastering the LIS problem with Dynamic Programming and Binary Search optimization.

20
Apr 22, 2026#leetcode#python

LeetCode 417: Pacific Atlantic Water Flow

Mastering graph traversal by thinking backwards: How to find cells that flow to both oceans using BFS.

21
Apr 21, 2026#leetcode#python

LeetCode 23: Merge k Sorted Lists

Master the art of merging multiple sorted linked lists using Min-Heaps and Divide & Conquer strategies.

22
Apr 20, 2026#leetcode#python

LeetCode 239: Sliding Window Maximum

Master the Monotonic Deque approach to efficiently track the maximum value in a sliding window.

23
Apr 19, 2026#leetcode#dsa

LeetCode 57: Insert Interval – Efficient Merging

Master the art of merging intervals with a clean, three-phase linear approach.

24
Apr 10, 2026#python#slicing

Python Slicing 101 Essential Techniques

From Basic Indexing to Advanced Patterns—Master the Most Elegant Feature of Python

prev03 / 04next