Phonepe interview experience SDE-3 (5 YOE)
Company: PhonePe
Role: SDE-3 (5 YOE)
Interview Stage: Onsite
Location: unknown
Year: unknown
Original Post Content:
Round 1: Machine Coding exam (for 90 min)
Same question as this: https://leetcode.com/discuss/post/4859421/phone-pe-by-anonymous_user-2j6u/
Round 2: Evaluation round (45 min)
I explained the code for about 10 min and then he started building up questions around optimisations. Later it felt like more of a HLD interview because of the deep dives he took about priority notifications and managing load etc...
(Better watch this video since it helped me: https://www.youtube.com/watch?v=J-5JozlYIqI&t=823s - notification system design by jordan).
P.S: These evaluations are mostly around HLD of the systems. So be prepared to answer HLD as well for that problem statement.
Round 3: DSA
Q.1: Lexicographically biggest String by removing exactly K characters
Q.2: Given a target node in binary tree..find the maximum possible distance to any node.
Here I tried to solve the first one using DP since it has a subproblem, but the interviewer could not understand that a subproblem exists. Later after around 20 min, he gave a small hint that I was going in the wrong direction.
Later on, I went ahead and solved it using a stack, but could not code it due to shortage of time. He asked me to finish the second one first for which I gave the approach and started solving it. Now the beautiful part is I have to write classes for taking the input as a tree, although I wrote the logic first assuming I have input...
----------------- END OF 60 MIN--------------------------------------------
Verdict: Rejected
P.S: They have the worst site for the DSA round to code, which keeps hanging. So be prepared.