← home

Writing / 63 entries

Code, Solutions
& Discovery.

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

↳ interview
clear↓ newest
alldsa34python29interview26leetcode22algorithms16guide11
17
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.

18
Apr 26, 2026#grokking#book

101 Binary Search from grokking algorithm

Understanding Binary Search from one of the book that I think is good for students

19
Apr 25, 2026#algorithms#python

LeetCode 300: Longest Increasing Subsequence

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

20
Oct 1, 2025#algorithms#javascript

solve leetcode Reverse an Array

Learn how to reverse an array efficiently using brute force and optimal approaches in Python and JavaScript.

21
Oct 1, 2025#algorithms#javascript

solve leetcode find minimum and maximum in an array

Learn how to efficiently find the smallest and largest elements in an array using simple and optimal techniques in Python and JavaScript.

22
Oct 1, 2025#algorithms#javascript

solve leetcode Rotate an array to the right by k steps

Learn how to rotate an array efficiently using the reverse approach in Python and JavaScript with step-by-step explanation.

23
Sep 23, 2025#algorithms#arrays

Two Sum – Brute Force vs Hashing

Solve the classic Two Sum problem using brute-force and optimized hashing techniques, a must-know algorithm for coding interviews.

24
Sep 23, 2025#algorithms#string

Longest Substring Without Repeating Characters – Sliding Window

Learn how to efficiently find the longest substring with unique characters using sliding window and hashmap in Python and JavaScript.

prev03 / 04next