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

SDE - 1

PhonePe
upvote
share-icon
5 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 1 month
Topics: Data Structure, Algorithm, System Design, DBMS, OOPS.
Tip
Tip

Tip 1 : Go through basics of data structure and algorithm. 
Tip 2 : Focus specially on tree, graph and DP( 2D max).
Tip 3 : Detail understanding of everything written in resume

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

Tip 1 : Keep it clean, no need to use any styles or colour.
Tip 2 : Focus more on projects and experience.
Tip 3 : Use bullets, single lines to explain your work and project, don't be too lengthy, make is brief.
Tip 4 : one page resume is good, you can cut down things like unnecessary achievements

Interview rounds

01
Round
Easy
Online Coding Interview
Duration75 minutes
Interview date1 Feb 2022
Coding problem1

There are 4 easy brute force question.

1. Form a Triangle

Easy
15m average time
80% success
0/40
Asked in companies
OYOPhonePeLivekeeping (An IndiaMART Company)

You are given an integer of array/list 'ARR' of length ‘N. You are supposed to return true if it is possible to construct at least one non-degenerate triangle using values of array/list as sides of the triangle, otherwise, return false.

Problem approach

Sort the array and iterate over it to get the anwer

Try solving now
02
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date5 Feb 2022
Coding problem1

There are 3 DS question, all are easy medium and medium level

1. Battleship

A board can be divided in two halves which are to be given to two players and then you need to add ships for each players. Every player will get a chance to hit at any random point by missile and if it hits the opponent's ship, the ship will get destroyed. The players wins if all ships of its opponent are destroyed. Restrictions - You can hit missile at the same point two times in a game

Problem approach

Solved using binary search on 2D plane

03
Round
Medium
Video Call
Duration90 minutes
Interview date15 Feb 2022
Coding problem1

There are 3 coding problems asked which need to coded and compiled

1. Minimum Number Of Moves To Get All Keys

Moderate
25m average time
80% success
0/80
Asked in companies
PhonePeWells FargoPayPal

Some players are put inside an ‘N’ x ‘M’ matrix ‘GRID’ one by one where:

  • ‘.’ represents an empty cell.
  • ‘#’ represents a wall.
  • ‘@’ represents the starting point.
  • Lowercase letters represent keys.
  • Uppercase letters represent locks.

The player to collect all the keys in minimum moves will win the game. The ninja is one of the players and needs your help to win the game. He wants you to find the minimum number of moves to get all the keys. The rules of the game are:

  • You have to start from the starting point and move in one of the four cardinal directions.
  • You cannot walk outside the grid or walk into a wall. You can pick a key whenever you walk over it.
  • You cannot walk over a lock unless you have the corresponding key. For example, the key for the lock ‘A’ is ‘a’.
  • There is exactly one key for each lock.

For Example:

You are given ‘GRID’= [[“@.aA”],[“.B#.”],[“...b”]]. Then the answer will be 5.

Try solving now
04
Round
Medium
Video Call
Duration60 minutes
Interview date24 Feb 2022
Coding problem2

There are back to back many question are asked, one have to give approach and pseudo, no need for compilable code

1. Insertion in AVL Tree

Moderate
20m average time
80% success
0/80
Asked in companies
AmazonMorgan StanleySamsung

Ninja has to implement an ‘AVL_TREE’ from scratch.

He is given ‘N’ values, representing the values of nodes to be inserted. Ninja has to insert these values into the ‘AVL_TREE’ and return its root after inserting all the nodes.

Note: An ‘AVL_TREE’ is a self-balancing Binary Search Tree (BST) where the difference between heights of left and right subtrees cannot be more than one for all nodes.

For example:

Problem approach

You can calculate height of tree for left and right subtree for each node whoever have less height move in that direction

Try solving now

2. Unlock Briefcase

Moderate
30m average time
70% success
0/80
Asked in companies
OlaPhonePePhonePe

There is a briefcase protected by a lock with 4 circular wheels. The password is a sequence of 4 digits.

1. Each wheel has 10 slots: ‘0’, ‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘8’, ’9’.

2. The wheels can rotate freely and wrap around, ‘9’ can be left rotated to ‘8’ and right rotated to ‘0’, similarly ‘0’ can be right rotated to ‘1’ and left rotated to ‘9’. Rotation of one wheel counts to one rotation.

3. Initially, the lock starts at “0000”, a string representing the state of four wheels. 

You are given a list of dead ends (codes of 4 digits), meaning if at any point the lock displays any of these codes, the wheels of the lock will stop turning, and you will be unable to open it.

Given a target representing the code that will unlock the briefcase, return the minimum total number of turns required to open the lock, or -1 if it is not possible.

Problem approach

can be easily solved using level order traversal

Try solving now
05
Round
Easy
Video Call
Duration60 minutes
Interview date28 Feb 2022
Coding problem1

it was hiring manager round, most discussion is based on my resume and previous work

1. Technical Questions

The discussion is basically on my previous work, mostly whatever  wrote in resume. 

How you solved this problem and approach?

Problem approach

I have written whatever I done previously, no false project, so was able to explain it properly

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 | 6 problems
Interviewed by PhonePe
4239 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 7 problems
Interviewed by PhonePe
2996 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by PhonePe
0 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by PhonePe
2153 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes