Dynamic Programming: Knapsack and Subset Sum Patterns (2025)
7 min read The 0/1 Knapsack Pattern The 0/1 Knapsack problem is one of the most important DP patterns — its structure appears […] Read article
// algorithms
Coding patterns with templates and walkthroughs: two pointers, sliding window, DP, graphs — and the problems each one unlocks.
7 min read The 0/1 Knapsack Pattern The 0/1 Knapsack problem is one of the most important DP patterns — its structure appears […] Read article
6 min read Union-Find (Disjoint Set Union) Interview Patterns Union-Find (DSU) solves the dynamic connectivity problem: given a graph where edges are added Read article
6 min read Interval Algorithm Patterns Interval problems appear constantly in coding interviews — at Google, Meta, Airbnb, and Uber. The key skill: Read article
6 min read Dynamic Programming on Strings String DP problems are among the most common in technical interviews, especially at Meta, Amazon, and Read article
8 min read Low-Level Design: Chat Application (OOP Interview) A chat application combines real-time messaging, user management, conversation threading, and notification delivery. It’s Read article
8 min read Shortest Path Algorithm Interview Patterns (2025) Shortest path problems are fundamental in graph interviews. Knowing when to apply BFS, Dijkstra, Read article
7 min read Low-Level Design: Tic-Tac-Toe Game Tic-Tac-Toe is a common LLD warm-up question that tests your ability to model game state, validate Read article
8 min read Low-Level Design: Movie Ticket Booking System The Movie Ticket Booking system (like BookMyShow or Fandango) is a popular LLD interview Read article
6 min read Low-Level Design: Snake and Ladder Game Snake and Ladder (also called Chutes and Ladders) is a popular LLD interview problem Read article
8 min read Low-Level Design: ATM Machine The ATM Machine is a classic LLD problem that tests state machine design, OOP modeling, and Read article
7 min read Low-Level Design: Hotel Booking System (OOP) The Hotel Booking System is a rich LLD problem that combines real-world business rules Read article
11 min read Low-Level Design: Chess Game Designing a chess game is a classic LLD interview question that tests your ability to model Read article
9 min read String Manipulation Interview Patterns: Complete Guide (2025) String problems are ubiquitous in coding interviews — from anagram detection to complex Read article
4 min read Design Patterns in Python for Coding Interviews (2025) Python-specific design pattern implementations come up in senior coding rounds at Stripe, Read article
4 min read Trie Interview Patterns: Autocomplete, Word Search, and Prefix Problems (2025) Tries (prefix trees) are the go-to data structure for string Read article
What's missing, wrong, or worth adding? One line helps.
Sent — thank you. We read every one.