Background
- 4 YOE in a product + early stage startup
- No prior background of leetcode, overall have just 2-3 months grinding leetcode, neetcode, striver
- Applied on Instahyre, recruiter reached out after a few weeks
- Location - Bangalore
Round 1 - Maching Coding (3h + 30 mins explanation call)
Asked to build a flight management system with the following features (Easy)
- Flight management - add flights, seats of economy, business, first class
- Booking management - allow users to search for flights and book them, cancel booking etc
- Passenger management - allow users to view flights they have booked
Focus on readability, concurrency, etc
Post submission, had a 30 min call with an SDE-2 to discuss the code and trade offs, alternate strategies, etc.
Result - cleared
Round 2 - DSA/Problem solving
Round was with 2 senior engineers
- Asked to write a function that generates random points within a circle with equal probability distribution - solved post panel discussion
- LC Hard - Maximum profit in job scheduling - explained brute force + DP optimization
Where things went south
- Was not able to figure out how to make the probability distribution uniform in Q1
- Panel kept having audio issues, either I could not hear them or they could not hear me clearly (my net was fine)
- Expecatation was to use the provided coding site for all brainstorming, drawing etc instead of pen & paper - so I was trying to draw circles with a shitty laptop trackpad, but no worries
- Was able to explain the approach for the 2nd problem, but I made a few silly mistakes while writing/explaining the pseudocode (corrected immediately, but I think it did not help with all the stuff that had been transpiring above)
Result - Rejected
Takeaways for PhonePe
- Based on past interview experiences posted here & elsewhere, they ask LC hards often
- RNG and weird luck is always to be expected, keep trying
Comments (2)


