Quick answer: Most software engineering interviews have four parts: a recruiter screen, a coding round (data structures and algorithms or practical coding), a system design round for mid/senior roles, and a behavioural round. Prepare with a 4β6 week plan: master core patterns, practise talking while coding, learn a repeatable system design framework, and prepare 8β10 STAR stories.
Technical interviews test more than knowledge. They test how you think, communicate and handle pressure. The good news: interviews follow predictable patterns, so structured preparation works. This guide is useful for interviews at banks, telcos, startups and global tech companies alike.
The typical interview loop
Stage | What they check | Length |
|---|---|---|
Recruiter screen | Motivation, salary expectations, notice period, visa status | 20β30 min |
Technical screen | Basic coding, language knowledge | 45β60 min |
Coding round(s) | Problem solving, clean code, testing | 45β60 min each |
System design | Architecture, trade-offs, scale | 45β60 min |
Behavioural / manager | Teamwork, ownership, conflict, leadership | 30β45 min |
Part 1: Coding interviews
Learn patterns, not 500 random problems
- Arrays and hashing β frequency maps, two-sum style lookups.
- Two pointers and sliding window β substrings, sorted arrays.
- Stacks and queues β parentheses, monotonic stack.
- Binary search β on arrays and on the answer.
- Linked lists β reverse, merge, cycle detection.
- Trees and graphs β BFS, DFS, topological sort, shortest path.
- Heaps β top-K, merge K lists, scheduling.
- Dynamic programming β start with 1D (climbing stairs, house robber), then 2D.
The 6-step method during the interview
- Clarify β inputs, outputs, constraints, edge cases.
- Examples β walk through one normal and one edge case.
- Brute force β say it and its complexity.
- Optimise β which pattern applies? State time and space complexity.
- Code β clean names, small functions, talk as you write.
- Test β dry-run your examples, then edge cases (empty, one element, duplicates, large values).
Part 2: System design
A repeatable framework
- Requirements β functional (what it does) and non-functional (users, requests per second, latency, availability, consistency).
- Estimates β rough traffic and storage numbers.
- API design β main endpoints.
- Data model β entities, SQL vs NoSQL choice.
- High-level design β clients, load balancer, services, databases, cache, queue, storage, CDN.
- Deep dive β the hardest part (feed generation, payments consistency, search).
- Scale and reliability β replication, sharding, caching, retries, idempotency, monitoring.
- Trade-offs β always explain why you chose something and what you gave up.
Practise these classic designs
URL shortener, rate limiter, chat app, notification system, ride-hailing dispatch, e-commerce checkout, food delivery tracking, news feed, file storage, payment system with idempotency.
Part 3: Behavioural interviews
Use the STAR method: Situation, Task, Action, Result. Prepare 8β10 stories that you can adapt:
- A difficult bug or outage you solved.
- A project you led end to end.
- A disagreement with a colleague or manager.
- A mistake you made and what you learned.
- A time you improved performance or reduced cost.
- A time you mentored someone.
- A tight deadline you delivered.
Use "I" for your actions, include numbers in results, and keep each story to about two minutes.
Part 4: Practical and take-home assignments
- Read requirements twice; ask questions by email if unclear.
- Write a README: how to run, decisions, trade-offs, what you would improve.
- Include tests, even a few.
- Do not over-engineer β clean and working beats complex and unfinished.
A 6-week preparation plan
Week | Focus |
|---|---|
1 | Arrays, hashing, two pointers; write STAR stories |
2 | Sliding window, stacks, binary search |
3 | Trees, graphs, heaps; system design basics |
4 | Dynamic programming intro; 3 system designs |
5 | Mock interviews (coding + design) with a friend |
6 | Company research, revise weak areas, rest well |
Questions to ask the interviewer
- "What does success look like in the first 90 days?"
- "How is the team structured and how are decisions made?"
- "What does your deployment and on-call process look like?"
- "What is the biggest technical challenge this team faces?"
Summary
- Learn coding patterns and practise explaining while you code.
- Use a fixed framework for system design and always discuss trade-offs.
- Prepare STAR stories with measurable results.
- Do mock interviews β they make the biggest difference.