Animations
Every idea in the curriculum, drawn. 339 animations across 31 modules — each one is the real thing from its lesson, not a picture of it.
339 animations · hover a card to run its preview
- 08
Merge Two Sorted Lists
Zip two ordered chains together without allocating a single node.
Linked Lists
- 03
Word Search With a Trie
One walk over the grid, pruned the moment the path stops being a prefix.
Tries
- 01
Two Heaps: Running Median
Two heaps face each other, and the middle sits between their roots.
Two Heaps & K-Way Merge - 03
Top K in a Stream
Count once, then let a k-sized heap keep only the winners.
Two Heaps & K-Way Merge - 04
Sliding Window Median
You cannot dig a value out of a heap — so mark it dead instead.
Two Heaps & K-Way Merge
- 10
Kruskal's Spanning Tree
Buy the cheapest cable that joins two pieces you have not joined yet.
Graphs - 13
Cycles in a Directed Graph
Grey means still on the path — meet grey again and you have looped.
Graphs - 16
Strongly Connected Parts
Groups where every node can reach every other — found in two passes.
Graphs
- 02
Path Compression
You already walked to the root — leave everyone pointing straight at it.
Union-Find - 04
Components & Cycles
Start the counter at n and drop it on every union that actually merges.
Union-Find
- 05
Word Search & Pruning
Walk the grid, block the cell, and quit on the first wrong letter.
Backtracking
- 01
What Makes Greedy Work
Take the best move now — but only when it can never block a better answer.
Greedy
- 01
Interval Basics & Sorting
Sort by start and the pairwise question becomes a left-to-right scan.
Intervals
- 01
What Is Dynamic Programming?
Solve each overlapping subproblem once, then reuse the answer.
Dynamic Programming - 02
Top-Down vs Bottom-Up
One recurrence, two directions: recurse and cache, or fill a table.
Dynamic Programming - 04
House Robber
Take this one and skip its neighbour, or skip it and keep the best.
Dynamic Programming - 06
Longest Common Subsequence
Match the two ends, or drop a character from one side.
Dynamic Programming - 09
Longest Increasing Subsequence
Every element asks which smaller one it can extend.
Dynamic Programming - 11
Unbounded Knapsack
Same table, forward loop — and every item can be taken again.
Dynamic Programming - 12
Counting Ways, Not Coins
Loop coins on the outside and each combination is counted once.
Dynamic Programming - 14
House Robber in a Circle
First and last are now neighbours, so run the line twice.
Dynamic Programming - 19
Reading the Answer Back
The table holds the score; walking it backwards holds the answer.
Dynamic Programming
- 02
Design a Rate Limiter
The algorithm is easy; where the counter lives is the interview.
System Design Cases - 05
Design a Notification System
One event, three channels, and never the same message twice.
System Design Cases - 06
Design Search Autocomplete
Not a search — a walk down a path somebody built last night.
System Design Cases - 07
Design a File Storage Service
Upload the paragraph that changed, not the ten gigabytes.
System Design Cases - 08
Design Video Streaming
Transcode once, cut into segments, and let the edge carry it.
System Design Cases - 09
Design Ride Matching
The write rate is the problem; the search is one cell lookup.
System Design Cases - 11
Design a Job Scheduler
The worker died mid-job. The ticket goes back on the rail.
System Design Cases - 12
Design Geo Proximity Search
Two numbers, one index: fold a map down into a sorted string.
System Design Cases - 13
Design E-commerce Inventory
One unit left, two carts, and only one of them may hear yes.
System Design Cases - 14
Design Ad Click Aggregation
The same click arrives twice, late, and out of order.
System Design Cases - 15
Design a Distributed Cache
A ring of machines where losing one moves only its own arc.
System Design Cases - 16
Design a Key-Value Store
Three copies, two acks, two reads — the sets have to overlap.
System Design Cases - 17
Design a Web Crawler
A billion pages, one polite knock per host, nothing fetched twice.
System Design Cases - 20
Design a Collaborative Editor
Both typing in one paragraph, both landing on the same text.
System Design Cases
- 01
Shared Responsibility & IAM
AWS secures the cloud; you decide who may call what inside it.
AWS for Interviews - 02
S3: Consistency, Classes, Lifecycle
Strong reads, a class per access pattern, and rules that age data out.
AWS for Interviews - 03
EC2, Auto Scaling & Load Balancers
A fleet that grows with traffic and heals itself, behind one address.
AWS for Interviews - 04
Lambda & Event-Driven Design
Cold starts, concurrency, and a queue that absorbs the burst.
AWS for Interviews - 05
VPC: Subnets, NAT & Firewalls
Routes decide where a packet can go; firewalls decide whether it may.
AWS for Interviews - 07
SQS vs SNS vs EventBridge
Pull from a queue, push to many, or route by what the event says.
AWS for Interviews - 08
CloudFront & Caching Layers
Edge, regional cache, origin — and a cache key that decides it all.
AWS for Interviews - 09
ECS vs EKS vs Fargate
Pick an orchestrator, then pick how much of the host you want to own.
AWS for Interviews - 11
AWS Cost Levers
Right-size, scale, commit the floor, Spot the rest, watch the wires.
AWS for Interviews - 12
Design a System on AWS
Draw the request path, then walk the six pillars as follow-ups.
AWS for Interviews - 13
Hybrid Networking & DNS
Direct Connect carries traffic, VPN backs it up, endpoints carry DNS.
AWS for Interviews - 14
KMS, Envelope Encryption & Private CA
Wrap a data key with a KMS key; let a private CA sign what you trust.
AWS for Interviews - 15
Disaster Recovery: RPO & RTO
Pay for exactly as much standby as your RPO and RTO demand.
AWS for Interviews - 16
Organizations, SCPs & Control Tower
SCPs set the ceiling for every account below them; IAM still has to grant.
AWS for Interviews - 17
Moving Data Into AWS
Divide terabytes by your real bandwidth before you choose a tool.
AWS for Interviews - 18
Migration: The 7 Rs, TCO & Waves
Give every application one R, add up the years, then move in small waves.
AWS for Interviews - 19
Apache Spark on AWS: EMR & Glue
An action starts the job, a shuffle splits it; then choose who runs the cluster.
AWS for Interviews - 20
VPC Endpoints & PrivateLink
A route for S3 and DynamoDB, a private IP in your subnet for the rest.
AWS for Interviews
- 01
Containers vs VMs
A VM brings its own kernel. A container is a fenced-off process on yours.
Docker & Kubernetes for Interviews - 02
Images, Layers & Multi-Stage Builds
Order the Dockerfile by how often each line changes, and ship only the output.
Docker & Kubernetes for Interviews - 03
Ports, Networks & Volumes
Private names, one published port, and data that outlives the container.
Docker & Kubernetes for Interviews - 04
Docker Compose for Local Dev
One file, one command, a whole app — as long as it fits on one Docker host.
Docker & Kubernetes for Interviews - 05
Pods, ReplicaSets & Deployments
Declare how many and which version; three controllers keep reality matching it.
Docker & Kubernetes for Interviews - 06
Scheduling & Rolling Updates
Where a Pod lands, and how v1 becomes v2 without a gap in service.
Docker & Kubernetes for Interviews - 07
Services & Ingress
A stable name in front of Pods that come and go, and one front door for HTTP.
Docker & Kubernetes for Interviews - 08
ConfigMaps, Secrets & Env
One image everywhere; the settings and the passwords live beside it, not in it.
Docker & Kubernetes for Interviews - 09
Probes & Self-Healing
Three questions the kubelet keeps asking: started? ready? still alive?
Docker & Kubernetes for Interviews - 10
Requests, Limits & HPA
Reserve what a Pod needs, cap what it takes, and scale out when it runs hot.
Docker & Kubernetes for Interviews - 11
Storage: PV, PVC & StatefulSet
Replicas with names that stick and disks that follow them.
Docker & Kubernetes for Interviews - 12
Design a Deployment on Kubernetes
Walk the request path, then name the failure each piece is there for.
Docker & Kubernetes for Interviews
- 01
What Is Low-Level Design
Below the boxes and arrows sit the classes that do the work.
Low-Level Design - 02
Encapsulation and Invariants
Hide the state so the object can never be caught in a bad one.
Low-Level Design - 03
Composition vs Inheritance
Assemble behaviour from parts instead of freezing it in a family tree.
Low-Level Design - 04
Interfaces and Polymorphism
Call one method name and let each type answer in its own way.
Low-Level Design - 05
SOLID in One Pass
Five habits that stop tomorrow's change from touching twenty files.
Low-Level Design - 06
Strategy Pattern
Put the part that varies in its own object and swap it at runtime.
Low-Level Design - 10
Designing a Parking Lot
The classic interview warm-up, answered in objects rather than adjectives.
Low-Level Design - 12
Elevator Controller
The car has a direction, and the direction answers the buttons.
Low-Level Design
- 27
Finding and Masking PII
Find personal data, swap it for placeholders, and mask the logs too.
AI & ML - 29
AI Teams and the Center of Excellence
One central AI team, or builders inside every product team?
AI & ML - 30
Change Management for AI
The same tool can reach 15% or 70% of staff. The people plan decides.
AI & ML - 32
Measuring AI Value
Baseline first, then track value against cost until you scale, pivot or stop.
AI & ML