Interview practice
Software engineering interview questions grouped by topic, each with the correct answer and a full explanation.
Database Interview Practice
Backend interview questions on schema design, SQL, indexing, transactions, scaling and migrations
- Database contention and isolation interview questions (16 questions)
- Idempotency and retries interview questions (7 questions)
- Database indexing and data modelling interview questions (17 questions)
- Database sharding and replication interview questions (11 questions)
- Database durability and operations interview questions (7 questions)
Coding Interview Practice
Data structures and algorithms interview problems, worked through like a strong candidate
- Hash map, array and prefix sum interview questions (14 questions)
- Two pointers coding interview questions (8 questions)
- Sliding window coding interview questions (8 questions)
- Linked list coding interview questions (6 questions)
- Stack and monotonic stack interview questions (10 questions)
- Heap and top k coding interview questions (10 questions)
- Tree coding interview questions (7 questions)
- Graph, BFS, DFS and union find interview questions (30 questions)
- Binary search coding interview questions (12 questions)
- Backtracking coding interview questions (6 questions)
- Intervals and greedy coding interview questions (11 questions)
- Dynamic programming interview questions (14 questions)
- Data structure design and trie interview questions (14 questions)
Networking Interview Practice
Networking questions software engineering interviewers actually ask
- URL to page, TCP vs UDP and QUIC interview questions (8 questions)
- Polling vs SSE vs WebSockets interview questions (7 questions)
- Load balancing and latency interview questions (10 questions)
- Timeouts, retries and connection pool interview questions (10 questions)
Operating Systems Interview Practice
Concurrency, memory, scheduling and I/O questions for software engineering interviews
- Concurrent web crawler interview questions (7 questions)
- Blocking queue and thread pool interview questions (11 questions)
- Thread safety and rate limiter interview questions (13 questions)
- Threads vs processes vs async interview questions (7 questions)
- Race condition and deadlock interview questions (8 questions)
- OS debugging and file durability interview questions (9 questions)
Language Gotchas
Python, Java, JavaScript, TypeScript, Go and Kotlin semantics as they come up in coding interviews
- Python interview questions (16 questions)
- Java interview questions (16 questions)
- JavaScript and TypeScript interview questions (15 questions)
- Go interview questions (15 questions)
- Kotlin interview questions (14 questions)
System Design Interview Practice
Real interview questions with strong answers, tradeoffs and code
- System design interview approach and estimation (7 questions)
- Sharding and replication system design questions (8 questions)
- Queues and idempotency system design questions (9 questions)
- Caching and consistency system design questions (12 questions)
- Failure modes and multi tenancy system design questions (11 questions)
- Storage, real time and streaming system design questions (8 questions)
- Design a rate limiter, URL shortener or KV store (15 questions)
- Design chat, a news feed or notifications (11 questions)
- Design ticketing, payments or ride sharing (12 questions)
- Design top K, metrics, a web crawler or typeahead (13 questions)
- Design a job scheduler, file storage or video service (15 questions)