Limited time: AI code review, hints, mock interviews, whiteboard analysis, and all Pro features are unlocked. Enroll
Machine Coding

Low-Level Design Problems

OOP problems with design patterns, runnable code, and company tags. Built for PhonePe, Flipkart, Swiggy, Razorpay-style machine coding rounds.

22Problems
8+Design Patterns
90 minFormat
0/22 completed

The checkboxes below are disabled until you sign in. to tick off what you have finished and sync it across devices.

New to machine coding?

Start with LLD Fundamentals — covers SOLID, 8 design patterns, concurrency, state machines, and the 90-minute approach.

→

Problems

22 problems

Intermediate

12 problems
Intermediate

Splitwise

Expense splitting with multiple strategies (equal, exact, percentage), debt simplification.~15 min read

Strategy (Split Types) Aggregation
PhonePe Flipkart
Java Python C++
Intermediate

Music Player

Shuffle without repeats, play/pause, next/prev, history tracking. Fisher-Yates + Strategy + Observer.~15 min read

Strategy Observer State Machine
PhonePe Spotify Amazon
Java
Intermediate

Multilevel Cache

LRU/LFU eviction, composition of cache levels, read-through and write-through patterns.~15 min read

Strategy (LRU/LFU) Composition Facade
PhonePe Flipkart
Java Python
Intermediate

URL Shortener

Base62 encoding with atomic counter, custom aliases, click tracking, expiration, and strategy-based encoding.~15 min read

Strategy Repository Factory
Amazon Google Microsoft
Java Python C++
Intermediate

Elevator System

Multi-car dispatch with SCAN/LOOK scheduling, direction state, and swappable dispatch strategy.~18 min read

Strategy (Dispatch) State Facade
Amazon Uber Google
Java
Intermediate

Rate Limiter

Token bucket, sliding window, fixed window with strategy pattern. Thread-safe per-client limiting.~15 min read

StrategyFactoryConcurrency
GoogleStripeUber
JavaPythonC++
Intermediate

Payment Wallet

P2P transfers, idempotency, atomic operations, ledger, overdraft prevention.~18 min read

CommandObserverSingleton
PhonePeRazorpayPayTM
JavaPythonC++
Intermediate

Task Scheduler

Priority queue, thread pool, recurring tasks, delayed execution, cancellation.~15 min read

StrategyObserverThread Pool
GoogleAmazonMicrosoft
JavaPythonC++
Intermediate

E-commerce Cart

Pricing strategies, coupons, stock validation, tax calculation, checkout flow.~18 min read

StrategyBuilderObserver
AmazonFlipkartMyntra
JavaPythonC++
Intermediate

Delivery Slot Booking

Capacity management, waitlist FIFO promotion, conflict detection, cancellation.~15 min read

Template MethodObserverFactory
LiciousBigBasketBlinkit
JavaPythonC++
Intermediate

Queue Management

Token system with priority queue, multiple counters, assignment strategies, wait time estimation.~16 min read

StrategyObserverState
PhonePeTCSBanks
JavaPythonC++
Intermediate

File System

In-memory file system with mkdir, ls, touch, rm. Tree traversal, path resolution, and thread-safe operations.~18 min read

CompositeTemplate MethodIterator
UberAmazonGoogle
JavaPythonC++JS

What Interviewers Grade On

1
Working Demo Must compile and run end-to-end with a main/demo class.
2
Separation of Concerns Multiple files/classes, each doing one thing well.
3
Strategy Pattern At least one strategy — pricing, eviction, assignment, scoring.
4
Extensibility Adding a new variant = one new class, no edits to existing code.
5
Edge Cases Null inputs, capacity limits, state machine violations.
6
Thread-Safety When shared mutable state exists, synchronize correctly.