Articles

Short articles that give you the key insights and takeaways from popular coding problems.

Learn
Intermediate

Building a Trie from Scratch

Construct a prefix tree that supports insert and search in O(L), and learn how to extend it for autocomplete prompts.

TriePrefix Tree
Deep-dive guide
Learn
Easy

Interview Flowchart — A 20-Minute Diagnostic

Turn the Interview Flowchart into a repeatable script: clarify, pattern match, and choose the right tool without freezing mid-round.

Interview StrategyProblem SolvingFlowchart
Deep-dive guide
Learn
Foundation

Mastering Hash Maps in Interview Settings

Learn how to recognise hash map opportunities, pick collision strategies, and explain amortised behaviour with confidence.

Hash MapData Structure
Deep-dive guide
Learn
Foundation

Sorting Strategies — Choosing the Right Order

Compare sorting algorithms, understand when to reach for mergesort vs. quicksort, and explain stability, in-place trade-offs, and custom comparators.

SortingAlgorithm
Deep-dive guide
Learn
Intermediate

Topological Sort — Ordering with Dependencies

Learn how to order tasks with prerequisites using Kahn’s algorithm or DFS post-order, and recognise when topological sort applies.

Topological SortGraphsDAG
Deep-dive guide
Meta System Design
System Design

Designing Facebook Messenger

Architect a real-time messaging platform supporting billions of messages daily with presence, delivery receipts, and end-to-end encryption.

Real-timeWebSocketMessage QueueEncryptionPresence
Meta System Design
System Design

Designing Facebook News Feed

Build a personalized feed system that ranks and delivers billions of posts to hundreds of millions of concurrent users.

Feed RankingCachingFan-outReal-timeMachine Learning
Meta System Design
System Design

Designing Instagram Stories

Create an ephemeral content system that handles massive write spikes, global distribution, and automatic expiration.

Ephemeral ContentCDNWrite-heavyExpirationMedia Processing
Meta System Design
System Design

Designing WhatsApp at Scale

Engineer a messaging system optimized for reliability, offline sync, and extreme efficiency with billions of users worldwide.

MessagingOffline-firstDelivery GuaranteesErlang/BEAMEfficiency