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

SDE - 2

Phone Pe
upvote
share-icon
3 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming, java
Tip
Tip

Tip 1 - Practice Atleast 250 Questions from geeks from geeks and coding ninjas
Tip 2 - Ex- Do atleast 2 good projects

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

Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume and be confident.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date1 May 2022
Coding problem1

Design a snake and ladder game. Code should be modular and demoable. Time given was 60 minutes. He mentioned the code should handle cases when you want to add a new obstacle along with snake and ladder, add any number of players in the game etc.

1. System design question

Design a snake and ladder game. Code should be modular and demoable. He mentioned the code should handle cases when you want to add a new obstacle along with snake and ladder, add any number of players in the game etc.

Problem approach

The first entity that came into my mind is Game. The game will consist of Players, Board, and Dice. Let's break each entity to find new entities. If we take the player we didn't find any special entity. Then take the board, we see one entity a list of cells. In dice, we see just one method that will return 1–6 random numbers for now. One more class is for moving the object from higher cell to lower (call snake) or vice versa (ladder).

02
Round
Easy
Video Call
Duration60 minutes
Interview date4 May 2022
Coding problem2

2 coding questions

1. City And Bridges

Moderate
50m average time
60% success
0/80
Asked in companies
FlipkartDunzoPhone Pe

Ninja got a map in his hand with ‘N’ cities numbered 0 to ‘N’, connected with bridges. He asks his sister to delete some cities from the map.

He will ask his sister a ‘Q’ query. Each query is denoted by an integer ‘X’, meaning that he will delete the city ‘X’. He wants to see if the new map obtained after deleting the city node will have more connected components than the previous map.

He wants to build the program for the queries given by his sister for the above condition.

Ninja knows that you are a very good programmer and can help him in writing the code for the above. Help Ninja!

Note:

A connected component in the map is the maximum subset of cities that are connected i.e we can go from one city to any other in that subset.
Try solving now

2. Sub-Matrix with Sum Zero

Moderate
35m average time
65% success
0/80
Asked in companies
Phone PeAdobe

Given a 2-dimensional matrix of size ‘N’ x ‘M’. Find the size of the largest sub-matrix whose sum is equal to 0. The size of a matrix is the product of rows and columns in it.

A sub-matrix is a matrix obtained from the given matrix by deletion of several (possibly, zero or all) rows/columns from the beginning and several (possibly, zero or all) rows/columns from the end.

For example :

example

If there is no sub-matrix with sum equal to 0, then return 0.

Try solving now
03
Round
Medium
HR Round
Duration50 minutes
Interview date6 May 2022
Coding problem1

HM seemed very knowledgeable. For about 45 minutes we had in-depth discussion on my current work and project.
He then asked me to if I had to design a tiny url service, how many days will I need to come up with a production level code.
Why phonepe ?
Some behavioral questions.
Then I asked him a couple of questions about Phonepe.

1. Basic HR Questions

Design a tiny url service, how many days will I need to come up with a production level code.
Why phonepe ?
Some behavioral questions.
Then I asked him a couple of questions about Phonepe.

Problem approach

Tip 1: Be honest
Tip 2: Be confident

Here's your problem of the day

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

Skill covered: Programming

How do you create a function in JavaScript?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - 1
4 rounds | 7 problems
Interviewed by Phone Pe
1776 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 3 problems
Interviewed by Phone Pe
2439 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by Phone Pe
1305 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Phone Pe
3614 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
24080 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
5202 views
0 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Amazon
3706 views
0 comments
0 upvotes