PhonePe interview experience Real time questions & tips from candidates to crack your interview

Software Engineer

PhonePe
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 Month
Topics: Problem Solving, System Design, Object oriented principles, Design Patterns, Multithreading
Tip
Tip

Tip 1 : at lest 100 Leetcode medium problems practice
Tip 2 : Object oriented design and design pattern book or course
Tip 3 : System design practice

Application process
Where: Referral
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : not more than 2 pages
Tip 2 : Concise ,, but company like phonepe only consider resume for initial screening and during interviews the resumes are not touched and only performance in the interviews is considered , which is best IMO

Interview rounds

01
Round
Medium
Video Call
Duration60 Minutes
Interview date9 Sep 2021
Coding problem1

It's a machine coding round where the candidates gets a problem statement in advance before actual interview.
Candidates needs implement the well design solution for the problem and submit the code before interview.
Then in face to face/video call interview the interviewers asks questions and also asks to extend the solution for more features in the interview and candidate needs to write the executable code.

It'a 1 hour long interview. And the entire interview process is very smooth.

1. Machine Coding Question

Develop console base cricket app

Problem approach

I used object oriented design principles as well as few design patterns to make my solution extendable, modifiable and scalable.

02
Round
Medium
Video Call
Duration60 Minutes
Interview date15 Sep 2021
Coding problem2

2 problems were asked and 30 mins each were given to solve the problem and implement it.

1. Find All Triplets With Zero Sum

Moderate
30m average time
50% success
0/80
Asked in companies
MicrosoftFacebookDunzo

You are given an array Arr consisting of n integers, you need to find all the distinct triplets present in the array which adds up to zero.

An array is said to have a triplet {arr[i], arr[j], arr[k]} with 0 sum if there exists three indices i, j and k such that i!=j, j!=k and i!=k and arr[i] + arr[j] + arr[k] = 0.

Note :
1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then (2, -3, 1), (-3, 2, 1) etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
Try solving now

2. Kth Largest Element In A Stream

Moderate
30m average time
65% success
0/80
Asked in companies
Wells FargoGoldman SachsPhonePe

You will be given a stream of numbers, and you need to find the 'kth' largest number in the stream at any given time.


As the stream of numbers can not be given during compile time, so you need to design a data structure which can accept infinite numbers and can return the 'kth' largest number at any given time.


The stream of numbers is nothing but a large collection of numbers from which integers are read at runtime, such as the user will never know the upper limit on the number of integers that will be read.


The implemented data structure must support the following operations:

1. add(DATA) :
   This function should take one argument of type and store it in its pool and returns the 'kth' largest number from the current pool of integers.

You will be given 'q' queries:

val - For this query, insert the integer into your current pool of integers and return the 'kth' largest integer from the existing pool of integers.
Note
 1. The maximum number of integers that will be given will always be under memory limits.

 2. You will also be given an initial pool of integers whose size equals k.

 3. The maximum number of queries will be less than 10^5.

 4. The 'kth' largest element is not the 'kth' distinct element but the 'kth' largest element in the sorted order.

 5. There will be at least one query of type 2.
Problem approach

Tip 1 : Any kth element problem can be solved using min or max heap. So practice with DS problems helps

Try solving now
03
Round
Hard
Video Call
Duration60 Minutes
Interview date20 May 2022
Coding problem1

Design callback service

1. System Design Question

A service which provides the callbacks to other service in system as provided schedule.

Problem approach

Tip 1: Identifying the requirements by discussing with interviewer is important
Tip 2: Figure out the DB part and then move on to the further design
Tip 3: thinking aloud at every point helps

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 7 problems
Interviewed by PhonePe
2996 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by PhonePe
3842 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by PhonePe
2415 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by PhonePe
4964 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7873 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9973 views
1 comments
0 upvotes
company logo
Software Engineer
2 rounds | 4 problems
Interviewed by Amazon
4310 views
1 comments
0 upvotes