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 11, 2026Bit Manipulation Fundamentals3 min read

The operators every developer half-remembers — AND, OR, XOR, shifts — and the handful of tricks that turn them into fast, elegant solutions.

#DSA
July 11, 2026Tries: Searching by Prefix4 min read

The data structure behind autocomplete and spellcheck. How a trie stores words as shared character paths, and why lookups cost the length of the word — not the size of the dictionary.

#DSA
July 10, 2026Heaps and the Priority Queue4 min read

How a heap keeps the smallest (or largest) element one lookup away, why it's stored in a plain array, and the sift-up/sift-down operations that keep it valid.

#DSA
July 10, 2026Linked Lists: Arrays vs Lists, and Floyd's Cycle Detection6 min read

The two basic ways to store a sequence — arrays for instant access by position, linked lists for cheap inserts — what each operation costs, why arrays win most of the time anyway, and the two-pointer trick that detects a loop in a list in one pass with no extra memory: the tortoise and the hare.

#DSA
July 9, 2026Dynamic Programming: From Memoization to Tables10 min read

DP is not a scary black box — it's recursion that stops repeating itself. Follow one problem from exponential recursion to a linear table, one cell at a time.

#DSA
July 9, 2026Graph Traversal: BFS and DFS Side by Side10 min read

Breadth-first and depth-first search are the same algorithm with one data structure swapped. See both walk the same graph, and learn which to reach for.

#DSA
July 8, 2026Recursion and the Call Stack: What Actually Happens10 min read

Recursion feels like magic until you see the call stack. Here's the mechanical picture — frames pushing and popping — plus base cases, stack overflows, and tail calls.

#DSA
July 8, 2026Two Pointers and the Sliding Window10 min read

Two of the highest-leverage array patterns in interviews and real code — how they turn nested O(n²) loops into a single O(n) pass, and when each one applies.

#DSA
July 7, 2026Prototypes and Inheritance: How JavaScript Objects Really Work6 min read

The prototype chain is the engine behind every JavaScript object and the class keyword is sugar on top of it — here's how the whole thing actually works.

#JavaScript
July 7, 2026The this Keyword: Four Rules That Explain Every Case4 min read

Why this is confusing in JavaScript and how four simple binding rules — plus arrow functions — determine its value in any situation.

#JavaScript

202 posts · page 19 of 21