Categories

Browse all topics organized by difficulty levels. Each topic covers the same concept from beginner to advanced.

DS Data Structures

Understanding Linked Lists - The Treasure Hunt

Understanding Linked Lists

Master linked lists from treasure hunt analogies to memory layout and CPU cache performance.

Level 1 Level 2 Level 3
Understanding Hash Tables - The Library Catalog

Understanding Hash Tables

Learn hash tables from library catalog analogies to collision resolution and load factors.

Level 1 Level 2 Level 3
Understanding Stacks - The Pancake Stack

Understanding Stacks

Learn stacks from pancake stack analogies to memory layout and function call management.

Level 1 Level 2 Level 3
Understanding Tree Traversals - The Library Explorer

Understanding Tree Traversals

Learn tree traversals from library exploration analogies to cache performance optimization.

Level 1 Level 2 Level 3
Understanding Tree Properties - The Balanced Architect

Understanding Tree Properties

Learn tree balance, height, and symmetry from architectural analogies to hardware-level optimization.

Level 1 Level 2 Level 3
Understanding Binary Search Trees - The Organized Library

Understanding Binary Search Trees

Learn BSTs from magical library analogies to AVL/Red-Black trees and cache optimization.

Level 1 Level 2 Level 3
New Understanding BST Properties - The Sorted Library

Understanding BST Properties

Learn BST properties from sorted library analogies to augmented order-statistic trees and AVL/Red-Black comparisons.

Level 1 Level 2 Level 3
Understanding Arrays vs Strings - The Library Analogy

Understanding Arrays vs Strings

Learn arrays and strings from library analogies to hardware-level optimization and SIMD instructions.

Level 1 Level 2 Level 3
New Understanding Tree Recursion - The Family Tree Journey

Understanding Tree Recursion

Master tree recursion from family tree analogies to call stack mechanics and performance optimization.

Level 1 Level 2 Level 3
New Understanding Tree Algorithms - The Family Gathering

Understanding Tree Algorithms

Master tree algorithms from family gathering analogies to LCA implementation and hardware-level optimization.

Level 1 Level 2 Level 3
New Understanding Tree Serialization - The Shipping Container

Understanding Tree Serialization

Learn tree serialization from shipping container analogies to binary formats, Protocol Buffers, and compiler AST optimization.

Level 1 Level 2 Level 3

AP Algorithms & Patterns

Understanding Two Pointers - The Treasure Hunt

Understanding Two Pointers

Learn two pointers technique from treasure hunt analogies to CPU cache performance optimization.

Level 1 Level 2 Level 3
Understanding Sliding Window - The Train Window

Understanding Sliding Window

Learn sliding window technique from train window analogies to cache performance optimization.

Level 1 Level 2 Level 3
Understanding Merge Algorithms - The Card Sort

Understanding Merge Algorithms

Learn merge algorithms from card sorting analogies to memory-efficient implementations.

Level 1 Level 2 Level 3
New Understanding Binary Arithmetic - The Light Switch

Understanding Binary Arithmetic

Learn binary arithmetic from light switch analogies to CPU ALU design and bitwise optimization.

Level 1 Level 2 Level 3
Understanding Dynamic Programming - The Smart To-Do List

Understanding Dynamic Programming

Master DP through staircase analogies, from Fibonacci patterns to hardware-level optimization.

Level 1 Level 2 Level 3
New Understanding Interval Problems - The Meeting Room Scheduler

Understanding Interval Problems

Learn interval merging from meeting room scheduler analogies to CPU cache performance optimization.

Level 1 Level 2 Level 3
New Understanding Binary Search - The Number Guessing Game

Understanding Binary Search

Learn binary search from number guessing game analogies to CPU cache performance and branch prediction optimization.

Level 1 Level 2 Level 3
New Understanding String Parsing - The Librarian's Puzzle

Understanding String Parsing

Learn string parsing from librarian puzzle analogies to SIMD optimization and memory bandwidth considerations.

Level 1 Level 2 Level 3
New Understanding Array Manipulation - The Bookshelf

Understanding Array Manipulation

Learn array manipulation from bookshelf analogies to CPU cache performance and SIMD optimization.

Level 1 Level 2 Level 3
New Understanding BFS - The Ripple Effect

Understanding BFS

Learn BFS from ripple-in-a-pond analogies to queue internals, cache performance, and production-system applications.

Level 1 Level 2 Level 3
Understanding BFS vs DFS - The Maze Explorers

Understanding BFS vs DFS

Learn BFS vs DFS from maze exploration analogies to CPU cache optimization and branch prediction.

Level 1 Level 2 Level 3

CC Core Concepts

J Java

Coming Soon

🐍

Python

JavaScript

🦀

Rust

🐹

Go