Lld series

A shop ledger page, 1899. Every line adds up.
LLD / Java / OOP Interview Questions Bank
Part A: 60 conceptual questions with crisp answers. Part B: 30 LLD problems with difficulty and patterns.
12 min read
LLD Series: Hotel Booking System - LLD
Design a hotel booking system: search availability for a date range, book rooms, cancel, and make sure the hotel is never overbooked even with concurrent requests. Support different pricing (weekend,...
11 min read
LLD Series: In-Memory Pub/Sub (Kafka-lite) - LLD
Design an in-memory publish-subscribe system. Publishers publish messages to topics; subscribers subscribe to topics and receive messages. Delivery should be asynchronous, a slow subscriber must not...
10 min read
LLD Series: Logger Framework (Low-Level Design)
Asked at: Visa, Mastercard, Amex, PayU (classic machine-coding warm-up; checks patterns knowledge). Interviewers expect: Singleton, Chain of Responsibility, Strategy for formatter/appender, and a...
12 min read
LLD Series: Notification Service (Low-Level Design)
Asked at: PayU, Amex, Visa and Mastercard (OTP / transaction alerts / fraud alerts), NPCI-ecosystem apps (UPI collect and debit alerts). Interviewers watch for: Strategy per channel, Observer for...
13 min read
LLD Series: BookMyShow (Movie Ticket Booking) (LLD)
Design a movie ticket booking system. Users browse shows, pick seats, pay and get a ticket. Two users must never book the same seat. The real question is concurrency: temporary seat holds with...
15 min read
LLD Series: Elevator System (LLD)
Design an elevator system for a building with N floors and M elevators. Users press hall buttons (floor + direction) and cabin buttons (destination). Decide which elevator serves a request, and how...
12 min read
LLD Series: LRU / LFU Cache (Low-Level Design)
Phrasings: LeetCode 146/460 but as a class design, Design an in-memory cache like Guava/Caffeine, cache BIN/merchant/config lookups. Asked heavily at Visa, Mastercard, NPCI, Amex, PayU...
15 min read
LLD Series: Rate Limiter (Low-Level Design)
Typical phrasing: Design an API throttler, Limit 100 req/min per user, Implement token bucket. Asked at Visa/Mastercard (API gateway protection, card-network throttling), NPCI (UPI PSP throttling per...
13 min read
LLD Series: Payment Gateway with Routing, Retries and Webhooks (Low-Level Design)
Design a payment gateway (Razorpay / PayU / Stripe style). Merchants submit payments by card, UPI, net-banking or wallet. The gateway routes to a bank/acquirer, falls back if one is down, retries...
29 min read
LLD Series: Vending Machine (Low-Level Design)
Design a vending machine. A user inserts coins/notes, selects a product, the machine dispenses it and returns change. Handle sold-out items, insufficient money, cancellation and refunds.
16 min read
LLD Series: Digital Wallet (Low-Level Design)
Design a digital wallet (Paytm / PhonePe / PayPal style). Users can add money, transfer to other users, and view history. Make transfers safe under concurrent requests, idempotent on retries, and...
21 min read
LLD Series: Splitwise / Expense Sharing (Low-Level Design)
Design Splitwise. Users add expenses and split them equally, by exact amounts, or by percentage. Show who owes whom. Add a 'simplify debts' feature that minimises the number of transactions.
18 min read
LLD Series: ATM (Low-Level Design)
Design an ATM. A user inserts a card, enters a PIN, and can withdraw cash, deposit or check balance. The machine must dispense the right notes. Model the machine's behaviour so that invalid...
19 min read
LLD Series: Parking Lot (Low-Level Design)
Design a multi-floor parking lot. Vehicles enter, get a ticket and a spot, and pay on exit. Support different vehicle types and pricing. Write working code in 60 minutes.
15 min read
LLD Interview Framework (45-60 minute round)
Goal: show structured thinking, clean OO modeling, working code, and awareness of extensibility/concurrency. Interviewers rarely want a perfect system; they want a runnable core with sound design and...
8 min read
LLD Series: Java Concurrency Essentials for LLD Rounds
In fintech LLD rounds the follow-up is almost always: now make it thread-safe (two threads debit the same wallet, two users book the same seat, two requests carry the same idempotency key). Know the...
16 min read
LLD Series: Design Patterns That Actually Come Up in LLD Rounds
Rule: name the pattern only after you have stated the problem it solves. Payment methods vary and I don't want if/else on type, so Strategy beats I'll use Strategy.
19 min read
LLD Series: OOP and SOLID (Payments Flavored)
All snippets are Java 11, compiled and run. Bad versions compile too; they are bad design, not bad syntax.
12 min read
LLD Series: DSA and Java Basics for LLD Interviews: A Gentle Primer for Beginners
If your DSA base feels shaky, read this first. It explains just the data structures, Big-O, concurrency and money rules that the LLD series actually uses, with runnable Java.
8 min read
LLD Series: Interview Prep Series: Start Here (DSA, HLD and LLD for Visa, Mastercard, NPCI, Amex, PayU)
Index and study plan for a DSA, HLD and LLD interview-prep series in Java for product and fintech companies, with a progress tracker and a searchable glossary for every abbreviation.
4 min read