PhonePe Software Engineer Interview: The Full Process, Decoded

- PhonePe's loop runs 4-8 rounds: OA, machine coding, machine coding discussion, 1-2 DSA rounds, system design (SDE-2+), HM, and HR.
- The machine coding round is the differentiator: 90-120 minutes to build a runnable, production-quality backend system, judged on OOP design not algorithmic cleverness.
- PhonePe DSA sits at LeetCode medium-to-hard; interviewers expect the full brute-to-optimal arc with complexity analysis, not a memorized answer delivered cold.
- System design has a hard fintech lens: idempotency keys, ACID vs. eventual consistency trade-offs, and Kafka-driven event architectures are expected knowledge.
- The machine coding debrief tests whether you can defend every design decision under live scrutiny -- saying "I felt it was cleaner" is a failing answer.
- SDE-1 prep takes 6 weeks; SDE-2 needs 8-10 weeks, weighted toward LLD and payment-domain system design.
PhonePe moves over 330 million transactions a day. That is not a rounding error. If you are interviewing there, you are being evaluated to work on one of the highest-throughput fintech backends in the country, and the interview loop knows it. You will write real, runnable, production-flavored code. Not sketches. Not pseudocode. Code that either works or exposes you.
Here is what the full loop looks like, how each round actually plays out, and which mistakes appear so reliably they might as well be on a bingo card.
The Loop at a Glance
| Round | Format | Duration | What It Tests |
|---|---|---|---|
| Online Assessment | Automated coding | 60-90 min | DSA screening |
| Machine Coding | Take-home or CodeSignal | 90-120 min | LLD, OOP, clean code |
| Machine Coding Discussion | Live debrief | 30-60 min | Design decisions, trade-offs |
| DSA Round | Live coding | 60 min | Algorithms, problem-solving |
| DSA Round 2 (sometimes) | Live coding | 60 min | Harder problems, optimization |
| System Design | Whiteboard/live | 60 min | HLD, scalability, fintech context |
| Hiring Manager | Conversation | 45-60 min | Culture fit, career trajectory |
| HR | Conversation | 30-45 min | Compensation, logistics |
SDE-1 roles often skip system design. SDE-2 and above get the complete loop.
The Online Assessment: Treat It Like the Real Thing
Most loops start with an automated coding test on HackerRank or a similar platform. Two problems in 60 to 90 minutes, medium difficulty, with a hard timer. This is a filter, not a showcase.
Common problems from recent candidate reports: counting paths through an N×M matrix in at most K steps (DP or BFS hybrid), frequency of the most frequent element (two-pointer sliding window), and maximum profit in job scheduling (interval DP). These problems reward candidates who know which pattern to reach for immediately. They punish everyone who is still warming up.
PhonePe screens a large volume of applicants. Show up ready.
Machine Coding: The Round That Sets PhonePe Apart
Most product companies in India include a machine coding round. PhonePe takes it unusually seriously, and candidates who train only on LeetCode walk in blind.
You get 90 to 120 minutes to build a working, runnable application from a prompt. Sometimes it runs as a CodeSignal challenge, sometimes you submit an offline solution via a shared repo. The problem is always a backend system with a handful of related features.
Documented problems from recent loops include:
- A parking lot manager with slot tracking, vehicle lookup, and color-based queries
- A fitness class booking system with capacity limits, waitlisting, and cancellation
- A multilevel cache (LRU or LFU semantics across N levels)
- A customer issue resolution system with routing and escalation rules
- A product search backend with filtering, ranking, and wishlisting
The bar is not "does it work" but "would a senior engineer be comfortable shipping this." Interviewers flag plain HashMap where a ConcurrentHashMap belongs. They notice when all business logic collapses into one God class that does everything except make coffee. They see it, they write it down, and it costs you.
These are not clever algorithm puzzles. They are small real-world features you have probably built before. The challenge is building them cleanly under time pressure, without the safety net of Stack Overflow.

The PhonePe interviewer, reading your 800-line service class.
Machine Coding Discussion: Every "Why" You Did Not Document
After submitting, you sit down for a 30-to-60-minute live debrief. A senior SDE reads through your code and asks questions. All of them.
Why this data structure here? Why is this method on this class and not that one? What breaks if the load triples? How would you add a new payment method without touching existing logic?
This is where candidates who wrote decent code still fail because they cannot articulate the reasoning. Silence is one failure mode. The other, equally fatal one: "I just felt it was cleaner." That answer lands with roughly the same energy as submitting a blank take-home exam.
Practice narrating design choices as you code. Not a running monologue, just a clear answer to "why" for each significant decision. A common trap is memorizing LLD pattern names without understanding what they replace. Saying "I used the Strategy Pattern" is worth nothing if you cannot explain what would happen without it. The coding interview communication principle applies here directly: your decisions need a spoken track record, not just a working implementation.
DSA: Medium to Hard, Two Problems, Tight Clock
PhonePe's DSA rounds sit between a typical Indian product company and a FAANG loop. Problems are LeetCode medium to hard. You usually face two problems in 60 minutes, which is an aggressive pace.
Reported questions from recent loops:
- House Robber III (binary tree DP)
- Kth ancestor in a binary tree
- Minimum speed to arrive on time (binary search on answer)
- Linked list cycle detection and length
- Maximum product subarray (all-negative edge case matters)
- Maximum profit in job scheduling
The pattern PhonePe favors: brute force first, then optimize. Interviewers explicitly ask for time and space complexity on every approach. They want to see the reasoning arc from naive to optimal, not a memorized answer delivered cold. Jumping straight to the clever solution to look sharp backfires here, because now you have skipped the part where you prove you actually understand the problem.
Graphs, trees, dynamic programming, and binary search are the heaviest topics. Heaps and sliding window come up regularly. Union-Find appears occasionally at the SDE-2 level. For the full picture of which patterns matter most in backend-heavy company loops, DSA for backend engineers is worth reading before you start your problem sets.
System Design: Think in Payments
The system design round is 60 minutes, primarily for SDE-2 and above. High-level design: components, data flow, failure modes, scale.
PhonePe favors payment-adjacent system design. Reported problems include designing a simplified UPI payment flow at scale, a notification system for 100 million users, a real-time fraud detection layer, and a retry and idempotency system for financial transactions.
Three things this round probes that generic system design prep misses entirely:
Idempotency. Payments fail and retry. Your design must handle the same request arriving twice without double-charging. If you do not bring up idempotency keys unprompted, you are leaving signal on the table and the interviewer is noticing.
ACID vs. eventual consistency. Where are you okay with eventual? Where are you not? PhonePe processes money. "Eventual consistency is fine here" needs a justification that goes beyond "better availability." You are talking about people's bank accounts.
Event-driven architecture. PhonePe's own infrastructure relies heavily on Kafka. Every payment event flows through Kafka topics. Candidates who can speak to why this matters for reconciliation and fault tolerance land noticeably better signals than those who just draw boxes and arrows.
You do not need to have built a payments system. You need to understand why idempotency keys exist, what a two-phase commit trades off against an outbox pattern, and why you cannot just retry a financial API without a guard.
The HM Round Is Not a Technical Grilling
The HM wants to understand your trajectory. Why PhonePe, what you are looking for, how you have handled genuinely hard problems.
Come with one or two project deep dives ready. A standard CRUD app will not land. A high-throughput service, a migration under live load, or a data consistency bug you tracked down for three days will. PhonePe engineers solve scale problems where a five-minute outage has measurable financial consequences. Match that energy.
They also probe for early communication. The culture values engineers who surface problems before they become fires. Have a story ready for a time you escalated something uncomfortable.
The Same Mistakes, Every Loop
Across candidate reports, the same failure modes appear on a schedule reliable enough to be embarrassing.

The gap between "I passed all test cases" and "would a senior engineer ship this."
Machine coding: God classes where all logic lives in one place, no separation between data and behavior, using primitives where value objects belong, and HashMap in contexts that obviously require thread safety.
Machine coding discussion: Cannot justify design decisions, says "I thought it was cleaner" without a structural reason, or learned the pattern name without understanding what problem it solves. Saying Strategy Pattern and then pausing is worse than not mentioning it at all.
DSA: Jumping to optimal before showing brute force, stating wrong complexity or skipping it entirely, going silent when stuck instead of narrating. PhonePe interviewers will push back on a wrong complexity claim. Know your analysis cold, and when you do not know it, say what you do know rather than going quiet.
System design: Designing the happy path only, ignoring idempotency, treating payments as generic CRUD, and inability to trade off consistency against availability with real justification rather than a memorized phrase.
HM round: Vague project stories with no evidence of personal ownership, framing the role as just another backend job, or failing to research what PhonePe actually builds.
PhonePe Interview Prep: A Timeline That Works
Six weeks for SDE-1. Eight to ten weeks for SDE-2.
Weeks 1-2: DSA fundamentals. Binary search, trees, graphs, dynamic programming. Fifty to sixty problems at LeetCode medium, timed. Focus on the brute-to-optimal arc, not just arriving at the answer. The Flipkart interview guide maps a comparable Indian product company loop and is a useful calibration point.
Week 3: Machine coding. Pick four or five LLD problems (parking lot, library management, ride-sharing dispatcher, LFU cache, chess or snake-and-ladders) and build each from scratch under time. After each one, spend 20 minutes explaining every major decision out loud as if the interviewer is in the room. This feels awkward. Do it anyway.
Week 4: System design. Cover distributed systems fundamentals, consistency models, and at least three payment-adjacent case studies. Study UPI architecture at a conceptual level. Understand Kafka's role in decoupled financial systems.
Week 5: Mixed practice. One DSA session, one LLD problem, one system design walkthrough. Start mixing rather than siloing.
Week 6: Mock interviews. The machine coding debrief is the hardest round to practice alone because writing the code and defending it under live questioning are two completely different skills. SpaceComplexity lets you practice the communication layer with rubric-based feedback that mirrors what a real interviewer scores, not just whether your output compiles.
Before You Schedule
- PhonePe's loop has four to eight rounds depending on level: OA, machine coding, machine coding discussion, one to two DSA rounds, system design (SDE-2+), HM, HR.
- The machine coding round is the differentiator. Production-quality OOP with clear design reasoning matters more than algorithmic cleverness.
- DSA sits at medium to hard, two problems in 60 minutes, brute-to-optimal arc expected.
- System design has a hard fintech lens. Idempotency, ACID guarantees, and event-driven patterns are not theoretical here.
- The debrief round is where good code meets bad explanation. Practice narrating decisions before the loop, not during it.
- SDE-2 preparation needs at least eight weeks if your system design and LLD foundations are rusty.