Blog

Notes on data structures & algorithms, system design, and things I learn along the way.

Learning DSA? Follow the structured path — ordered articles from recursion to dynamic programming.→
July 6, 2026The JavaScript Event Loop: How Async Actually Works5 min read

A visual, step-by-step guide to the event loop — call stack, task queue, microtasks, and async/await — with interactive animations you can play through.

#JavaScript
July 6, 2026JavaScript Promises in Depth: Chaining, Errors, and Combinators5 min read

The rules that make promises predictable — state transitions, how .then chains really resolve, error propagation, and when to reach for all, allSettled, race, or any.

#JavaScript
July 6, 2026Building an LRU Cache From Scratch4 min read

Why the classic interview question is really a lesson in composing data structures — with an animated walkthrough and two working implementations.

#DSA#System Design
July 6, 2026Quick Sort and Heap Sort: The In-Place O(n log n) Sorts6 min read

A visual walkthrough of quick sort and heap sort — how partitioning and heaps achieve O(n log n) without merge sort's extra memory, with animated demos and code in Java and JavaScript.

#DSA
July 6, 2026Rate Limiting Algorithms: Token Bucket, Windows, and Their Trade-offs5 min read

How APIs decide who gets throttled — token bucket, fixed and sliding windows, animated demos of each, and what changes when the limiter goes distributed.

#System Design
July 6, 2026WebSockets vs SSE vs Polling: Choosing a Real-Time Strategy4 min read

Four ways to get server data to the browser without a refresh — animated message flows for each, and a decision guide drawn from building live-data UIs.

#System Design
July 5, 2026Sorting Algorithms Explained: Bubble, Selection, Insertion, and Merge Sort5 min read

A visual, hands-on walkthrough of four classic sorting algorithms with animated demos and code in both Java and JavaScript.

#DSA
September 22, 2024How to Create Your First Micro-Frontend Using NextJS8 min read

Build a micro-frontend architecture with Next.js multi-zones: rewrites, assetPrefix, cross-zone navigation, shared auth, deployment, and the pitfalls nobody mentions.

#System Design

148 posts · page 15 of 15