Upload Button Icon Add office photos

PhonePe

Compare button icon Compare button icon Compare

Proud winner of ABECA 2025 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

PhonePe Software Developer Interview Questions and Answers

Updated 2 Dec 2024

18 Interview questions

A Software Developer was asked 6mo ago
Q. Why do you want to join?
Ans. 

I want to join because I am passionate about technology and eager to contribute to innovative projects that make a difference.

  • I admire the company's commitment to cutting-edge technology, like the recent AI project that improved user experience.

  • The collaborative culture here aligns with my values; I thrive in environments where teamwork drives success.

  • I am excited about the opportunity to work on impactful project...

A Software Developer was asked
Q. 

Insertion in AVL Tree Problem Statement

You are required to implement an AVL Tree from scratch. Given 'N' values representing nodes, insert these values into the AVL Tree and return its root after all inse...

Ans. 

Implement an AVL Tree from scratch and insert given values to balance the tree.

  • Implement AVL Tree with rotation operations for balancing.

  • Maintain balance factor for each node to ensure AVL property.

  • Perform rotations (single or double) based on balance factor to balance the tree.

  • Update heights of nodes after insertion to maintain AVL property.

  • Ensure tree remains balanced after each insertion operation.

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Rakuten
Q2. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Amazon
Q3. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
asked in PhonePe
Q5. Form a Triangle Problem Statement You are given an array of integ ... read more
A Software Developer was asked
Q. 

Unlock the Briefcase Problem Statement

You have a briefcase secured by a lock with 4 circular wheels. The password is a sequence of 4 digits. Each wheel has 10 slots labeled ‘0’ through ‘9’. The wheels can...

Ans. 

Find the minimum number of rotations required to unlock a briefcase with a given target code, considering dead-end codes.

  • Iterate through all possible combinations of rotations to find the shortest path to the target code.

  • Use a queue to efficiently explore all possible combinations.

  • If the target code is a dead-end code, return -1 as it is not feasible to unlock the briefcase.

A Software Developer was asked
Q. 

Minimum Moves to Collect All Keys

Given an 'N' x 'M' grid, find the minimum number of moves required to collect all keys when starting at a specified point. Each move allows you to travel to an adjacent ce...

Ans. 

Find the minimum number of moves required to collect all keys in a grid starting from a specified point.

  • Use breadth-first search (BFS) to explore all possible paths from the starting point to collect keys.

  • Keep track of keys collected, locks encountered, and the number of moves taken in each path.

  • Avoid revisiting cells, and consider the movement rules while traversing the grid.

  • Return the minimum number of moves to ...

A Software Developer was asked
Q. 

Form a Triangle Problem Statement

You are given an array of integers ARR with a length of N. Your task is to determine whether it's possible to construct at least one non-degenerate triangle using the valu...

Ans. 

Determine if it's possible to form a non-degenerate triangle using array elements as sides.

  • Check if the sum of any two sides is greater than the third side to form a triangle.

  • If any such combination exists, return 'YES'; otherwise, return 'NO'.

  • Example: For input [3, 4, 5], sum of 3 + 4 > 5, so 'YES'. For [1, 10, 12, 30], no such combination exists, so 'NO'.

A Software Developer was asked
Q. 

Search In Rotated Sorted Array Problem Statement

Given a rotated sorted array ARR of size 'N' and an integer 'K', determine the index at which 'K' is present in the array.

Note:
1. If 'K' is not present ...
Ans. 

Given a rotated sorted array, find the index of a given integer 'K'.

  • Use binary search to find the pivot point where the array is rotated.

  • Based on the pivot point, apply binary search on the appropriate half of the array to find 'K'.

  • Handle cases where 'K' is not present in the array by returning -1.

A Software Developer was asked
Q. 

Longest Increasing Path in a 2D Matrix Problem Statement

Given a matrix of non-negative integers of size 'N x M', where 'N' and 'M' denote the number of rows and columns respectively, find the length of th...

Ans. 

Find the length of the longest increasing path in a 2D matrix by moving in four directions from each cell.

  • Use dynamic programming to keep track of the length of the longest increasing path starting from each cell.

  • Explore all four directions from each cell and recursively find the longest increasing path.

  • Optimize the solution by storing the length of the longest increasing path starting from each cell to avoid redu...

Are these interview questions helpful?
A Software Developer was asked
Q. 

Longest Increasing Subsequence Problem Statement

Given an array of integers with 'N' elements, determine the length of the longest subsequence where each element is greater than the previous element. This ...

Ans. 

Find the length of the longest strictly increasing subsequence in an array of integers.

  • Use dynamic programming to solve this problem efficiently.

  • Initialize an array to store the length of the longest increasing subsequence ending at each index.

  • Iterate through the array and update the length of the longest increasing subsequence for each element.

  • Return the maximum value in the array as the result.

A Software Developer was asked
Q. 

Maximum Sum Rectangle Problem Statement

Given a matrix ARR with dimensions N x M, your task is to identify the rectangle within the matrix that has the maximum sum of its elements.

Input:

The first line ...
Ans. 

Find the rectangle with the maximum sum of elements in a given matrix.

  • Iterate through all possible rectangles in the matrix and calculate the sum of each rectangle.

  • Keep track of the maximum sum encountered so far.

  • Optimize the solution by using Kadane's algorithm for 1D array to find maximum sum subarray in each row.

🔥 Asked by recruiter 2 times
A Software Developer was asked
Q. 

Snake and Ladder Problem Statement

Given a 'Snake and Ladder' board with N rows and N columns, where positions are numbered from 1 to (N*N) starting from the bottom left, alternating direction each row, fi...

Ans. 

Find the minimum number of dice throws required to reach the last cell on a 'Snake and Ladder' board.

  • Use Breadth First Search (BFS) to find the shortest path from the starting cell to the last cell.

  • Keep track of visited cells and the number of dice throws required to reach each cell.

  • Consider the presence of snakes and ladders while calculating the next possible moves.

  • Return the minimum number of dice throws to rea...

PhonePe Software Developer Interview Experiences

12 interviews found

Software Developer Interview Questions & Answers

user image Aditya Gautam

posted on 2 Dec 2024

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Nov 2024. There were 3 interview rounds.

Round 1 - Coding Test 

The DSA round happens with pseudo code

Round 2 - Technical 

(2 Questions)

  • Q1. Question asked from my resume
  • Q2. How I implemented everything
Round 3 - HR 

(2 Questions)

  • Q1. Why you want to join
  • Q2. Where do you see yourself in five years

Interview Preparation Tips

Interview preparation tips for other job seekers - I haven’t clear the second round
Interview experience
4
Good
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
-

I applied via Campus Placement and was interviewed in Jun 2024. There were 2 interview rounds.

Round 1 - Coding Test 

1 dp
2 dynamic graph

Round 2 - Technical 

(2 Questions)

  • Q1. Data structure and algorithms
  • Q2. Data structure and algorithm
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
-
Result
Selected Selected
Round 1 - Coding Test 

It was a coding test with 3 medium-hard questions

Round 2 - One-on-one 

(5 Questions)

  • Q1. Coding interview
  • Q2. Some question of graph
  • Q3. Some question of string
  • Q4. Some graph qquestion
  • Q5. Somerandom question

Interview Preparation Tips

Interview preparation tips for other job seekers - be prepared
Interview experience
4
Good
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Job Fair and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Coding Test 

Prepare well for machine coding rounds.

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.

Round 1 - Coding Test 

It consisted of 3 medium-hard dsa questions

Round 2 - Technical 

(2 Questions)

  • Q1. Graph bfs question
  • Ans. 

    Breadth-First Search (BFS) explores nodes level by level in a graph, useful for shortest path and connectivity problems.

    • BFS uses a queue to keep track of nodes to explore next.

    • It starts from a source node and explores all its neighbors before moving to the next level.

    • Example: In a social network graph, BFS can find the shortest path between two users.

    • BFS is ideal for unweighted graphs to find the shortest path.

    • It can a...

  • Answered by AI
  • Q2. Linked list question
Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Campus Placement and was interviewed in Apr 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

OA was about dp and graph

Round 2 - Coding Test 

Was about dp graphs and sliding window

Interview Preparation Tips

Interview preparation tips for other job seekers - learn DSA hardcore
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Instahyre and was interviewed in Nov 2023. There were 3 interview rounds.

Round 1 - Coding Test 

There were one medium and one easy coding question of DSA one of the array and another of string.

Round 2 - Technical 

(1 Question)

  • Q1. It was a good interview, where I was asked one easy DSA question, and asked many things related to API, requests types in API, errors code in the API, and bash scripts. It was 1.5 hours long interview.
Round 3 - One-on-one 

(1 Question)

  • Q1. It was the Hiring Manager round, where I was asked about the HLD of Phonepe.

I appeared for an interview in Jun 2022.

Round 1 - Coding Test 

(3 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

  • Q1. 

    Best Time To Buy and Sell Stock Problem Statement

    You are given an array 'PRICES' of 'N' integers, where 'PRICES[i]' represents the price of a certain stock on the i-th day. An integer 'K' is also provide...

  • Ans. 

    Determine the maximum profit achievable with at most K transactions by buying and selling stocks.

    • Iterate through the array and keep track of the minimum price to buy and maximum profit to sell.

    • Use dynamic programming to calculate the maximum profit with at most K transactions.

    • Consider edge cases like when K is 0 or when the array is empty.

    • Example: For input N = 6, PRICES = [3, 2, 6, 5, 0, 3], K = 2, the output should b...

  • Answered by AI
  • Q2. 

    Maximum Sum Rectangle Problem Statement

    Given a matrix ARR with dimensions N x M, your task is to identify the rectangle within the matrix that has the maximum sum of its elements.

    Input:

    The first line...
  • Ans. 

    Find the rectangle with the maximum sum of elements in a given matrix.

    • Iterate through all possible rectangles in the matrix and calculate the sum of each rectangle.

    • Keep track of the maximum sum encountered so far.

    • Optimize the solution by using Kadane's algorithm for 1D array to find maximum sum subarray in each row.

  • Answered by AI
  • Q3. 

    Snake and Ladder Problem Statement

    Given a 'Snake and Ladder' board with N rows and N columns, where positions are numbered from 1 to (N*N) starting from the bottom left, alternating direction each row, f...

  • Ans. 

    Find the minimum number of dice throws required to reach the last cell on a 'Snake and Ladder' board.

    • Use Breadth First Search (BFS) to find the shortest path from the starting cell to the last cell.

    • Keep track of visited cells and the number of dice throws required to reach each cell.

    • Consider the presence of snakes and ladders while calculating the next possible moves.

    • Return the minimum number of dice throws to reach th...

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 70 Minutes
Round difficulty - Medium

  • Q1. 

    Longest Increasing Subsequence Problem Statement

    Given an array of integers with 'N' elements, determine the length of the longest subsequence where each element is greater than the previous element. This...

  • Ans. 

    Find the length of the longest strictly increasing subsequence in an array of integers.

    • Use dynamic programming to solve this problem efficiently.

    • Initialize an array to store the length of the longest increasing subsequence ending at each index.

    • Iterate through the array and update the length of the longest increasing subsequence for each element.

    • Return the maximum value in the array as the result.

  • Answered by AI
  • Q2. 

    Longest Increasing Path in a 2D Matrix Problem Statement

    Given a matrix of non-negative integers of size 'N x M', where 'N' and 'M' denote the number of rows and columns respectively, find the length of t...

  • Ans. 

    Find the length of the longest increasing path in a 2D matrix by moving in four directions from each cell.

    • Use dynamic programming to keep track of the length of the longest increasing path starting from each cell.

    • Explore all four directions from each cell and recursively find the longest increasing path.

    • Optimize the solution by storing the length of the longest increasing path starting from each cell to avoid redundant...

  • Answered by AI
Round 3 - Face to Face 

(1 Question)

Round duration - 45 Minutes
Round difficulty - Medium

  • Q1. 

    Search In Rotated Sorted Array Problem Statement

    Given a rotated sorted array ARR of size 'N' and an integer 'K', determine the index at which 'K' is present in the array.

    Note:
    1. If 'K' is not present...
  • Ans. 

    Given a rotated sorted array, find the index of a given integer 'K'.

    • Use binary search to find the pivot point where the array is rotated.

    • Based on the pivot point, apply binary search on the appropriate half of the array to find 'K'.

    • Handle cases where 'K' is not present in the array by returning -1.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in BangaloreEligibility criteriaNo criteriaPhone Pe interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, OOPS, Web Development, Operating Systems, Database Management System, Automata theory.Time required to prepare for the interview - 7 monthsInterview preparation tips for other job seekers

Tip 1 : Practice as many questions as possible from any of the good coding platform.
Tip 2 : Core CS fundamentals should be strong and can't be neglected before interview.
Tip 3 : Some hands-on dev projects are really good to have as companies nowadays(mostly startups) look some good hands-on experience even in freshers.

Application resume tips for other job seekers

Tip 1 : Should be single page, to the point and precise resume.
Tip 2 : Only put truth on the resume.

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview in Mar 2022.

Round 1 - Coding Test 

(1 Question)

Round duration - 120 Minutes
Round difficulty - Medium

Timing was 3PM to 5 PM
There were 4 coding questions based on Dynamic Programming , Graphs, Mathematical analysis , Trie data structure.

  • Q1. 

    Weighted Job Scheduling Problem Statement

    You have 'N' jobs, each with a start time, end time, and profit. Your task is to identify the maximum profit that can be earned by scheduling these jobs such that...

  • Ans. 

    The Weighted Job Scheduling problem involves maximizing profit by scheduling non-overlapping jobs with start time, end time, and profit given.

    • Sort the jobs based on their end times in ascending order.

    • Initialize an array 'dp' to store the maximum profit that can be earned by scheduling jobs up to that index.

    • For each job, find the maximum profit by either including or excluding the current job based on non-overlapping co...

  • Answered by AI
Round 2 - Face to Face 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Easy

The interviewer was very soft spoken and helpful. There were in total 3 questions of easy-medium difficulty based on DP, Graphs and Sorting . It was around 11 AM timing.

  • Q1. 

    Knight Probability in Chessboard

    Calculate the probability that a knight remains on an N x N chessboard after making K moves. Initially, the knight is placed at a given position on the board. It can move ...

  • Ans. 

    Calculate the probability that a knight remains on an N x N chessboard after making K moves.

    • Use dynamic programming to calculate the probability of the knight staying on the board after each move.

    • Consider all possible moves the knight can make from its current position.

    • Keep track of the probabilities at each position on the board after each move.

    • Normalize the probabilities at the end to get the final result.

    • Example: Fo...

  • Answered by AI
Round 3 - Face to Face 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Medium

The round had 1 DS and Algo problem and 1 system Design question based on building any management portal.

  • Q1. 

    Snake and Ladder Problem Statement

    Given a 'Snake and Ladder' board with N rows and N columns, where positions are numbered from 1 to (N*N) starting from the bottom left, alternating direction each row, f...

  • Ans. 

    Find the minimum number of dice throws required to reach the last cell on a 'Snake and Ladder' board.

    • Use Breadth First Search (BFS) to find the shortest path from the starting cell to the last cell.

    • Create a mapping of each cell to its corresponding destination cell if it contains a snake or ladder.

    • Keep track of visited cells to avoid revisiting them during the traversal.

    • Consider the constraints and handle cases where t...

  • Answered by AI
Round 4 - HR 

Round duration - 30 Minutes
Round difficulty - Easy

It was more of Hiring Manager round where he asked about my skills , my projects and how could i be valuable to firm. It was quit easy going round

Interview Preparation Tips

Professional and academic backgroundI completed Information Technology from Indian Institute of Information Technology Allahabad. I applied for the job as SDE - 1 in PuneEligibility criteriaAbove 7 CGPAPhone Pe interview preparation:Topics to prepare for the interview - Data Structures, System Design, Algorithms, Operating Systems, Database Management Systems, OOPs, Computer NetworksTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Always focus on the basics of the Data Structures
Tip 2 : Practice System Design very well
Tip 3 : Take Practice Contests on weekly basis for time constraints

Application resume tips for other job seekers

Tip 1 : Mention atleast 2 projects with thorough knowledge 
Tip 2 : Keep the Resume one page only with no false information

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview in Feb 2022.

Round 1 - Coding Test 

(1 Question)

Round duration - 75 minutes
Round difficulty - Easy

There are 4 easy brute force question.

  • Q1. 

    Form a Triangle Problem Statement

    You are given an array of integers ARR with a length of N. Your task is to determine whether it's possible to construct at least one non-degenerate triangle using the val...

  • Ans. 

    Determine if it's possible to form a non-degenerate triangle using array elements as sides.

    • Check if the sum of any two sides is greater than the third side to form a triangle.

    • If any such combination exists, return 'YES'; otherwise, return 'NO'.

    • Example: For input [3, 4, 5], sum of 3 + 4 > 5, so 'YES'. For [1, 10, 12, 30], no such combination exists, so 'NO'.

  • Answered by AI
Round 2 - Coding Test 

Round duration - 90 minutes
Round difficulty - Medium

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

Round 3 - Video Call 

(1 Question)

Round duration - 90 minutes
Round difficulty - Medium

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

  • Q1. 

    Minimum Moves to Collect All Keys

    Given an 'N' x 'M' grid, find the minimum number of moves required to collect all keys when starting at a specified point. Each move allows you to travel to an adjacent c...

  • Ans. 

    Find the minimum number of moves required to collect all keys in a grid starting from a specified point.

    • Use breadth-first search (BFS) to explore all possible paths from the starting point to collect keys.

    • Keep track of keys collected, locks encountered, and the number of moves taken in each path.

    • Avoid revisiting cells, and consider the movement rules while traversing the grid.

    • Return the minimum number of moves to colle...

  • Answered by AI
Round 4 - Video Call 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

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

  • Q1. 

    Insertion in AVL Tree Problem Statement

    You are required to implement an AVL Tree from scratch. Given 'N' values representing nodes, insert these values into the AVL Tree and return its root after all ins...

  • Ans. 

    Implement an AVL Tree from scratch and insert given values to balance the tree.

    • Implement AVL Tree with rotation operations for balancing.

    • Maintain balance factor for each node to ensure AVL property.

    • Perform rotations (single or double) based on balance factor to balance the tree.

    • Update heights of nodes after insertion to maintain AVL property.

    • Ensure tree remains balanced after each insertion operation.

  • Answered by AI
  • Q2. 

    Unlock the Briefcase Problem Statement

    You have a briefcase secured by a lock with 4 circular wheels. The password is a sequence of 4 digits. Each wheel has 10 slots labeled ‘0’ through ‘9’. The wheels ca...

  • Ans. 

    Find the minimum number of rotations required to unlock a briefcase with a given target code, considering dead-end codes.

    • Iterate through all possible combinations of rotations to find the shortest path to the target code.

    • Use a queue to efficiently explore all possible combinations.

    • If the target code is a dead-end code, return -1 as it is not feasible to unlock the briefcase.

  • Answered by AI
Round 5 - Video Call 

Round duration - 60 minutes
Round difficulty - Easy

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

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in BengaluruEligibility criteriaNo criteriaPhone Pe interview preparation:Topics to prepare for the interview - Data Structure, Algorithm, System Design, DBMS, OOPS.Time required to prepare for the interview - 1 monthInterview preparation tips for other job seekers

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 resume tips for other job seekers

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

Final outcome of the interviewSelected

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
1w
toobluntforu
·
works at
Cvent
Can speak English, can’t deliver in interviews
I feel like I can't speak fluently during interviews. I do know english well and use it daily to communicate, but the moment I'm in an interview, I just get stuck. since it's not my first language, I struggle to express what I actually feel. I know the answer in my head, but I just can’t deliver it properly at that moment. Please guide me
Got a question about PhonePe?
Ask anonymously on communities.

PhonePe Interview FAQs

How many rounds are there in PhonePe Software Developer interview?
PhonePe interview process usually has 2-3 rounds. The most common rounds in the PhonePe interview process are Coding Test, Technical and One-on-one Round.
What are the top questions asked in PhonePe Software Developer interview?

Some of the top questions asked at the PhonePe Software Developer interview -

  1. Why you want to j...read more
  2. graph bfs quest...read more
  3. How I implemented everyth...read more
How long is the PhonePe Software Developer interview process?

The duration of PhonePe Software Developer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

4.2/5

based on 9 interview experiences

Difficulty level

Moderate 44%
Hard 56%

Duration

Less than 2 weeks 75%
2-4 weeks 13%
More than 8 weeks 13%
View more
PhonePe Software Developer Salary
based on 88 salaries
₹14.3 L/yr - ₹60 L/yr
256% more than the average Software Developer Salary in India
View more details

PhonePe Software Developer Reviews and Ratings

based on 11 reviews

4.0/5

Rating in categories

4.0

Skill development

3.8

Work-life balance

4.0

Salary

4.0

Job security

4.0

Company culture

3.1

Promotions

3.9

Work satisfaction

Explore 11 Reviews and Ratings
Key Accounts Executive
637 salaries
unlock blur

₹2.2 L/yr - ₹7.5 L/yr

Business Development Executive
506 salaries
unlock blur

₹1.4 L/yr - ₹5.5 L/yr

Territory Sales Manager
500 salaries
unlock blur

₹4.2 L/yr - ₹11.2 L/yr

Area Sales Manager
482 salaries
unlock blur

₹6.6 L/yr - ₹17.1 L/yr

Software Engineer
422 salaries
unlock blur

₹16 L/yr - ₹60.1 L/yr

Explore more salaries
Compare PhonePe with

Paytm

3.2
Compare

FIS

3.9
Compare

Fiserv

2.9
Compare

KFintech

3.5
Compare
write
Share an Interview