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

SRE

PhonePe
upvote
share-icon
4 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
PhonePe visited our college in December of 2021, They had a cgpa criteria of above 8. I applied for it and got shortlisted. It was followed by 1 test and 3 interviews which happened on the same day. I got an offer after 2 days
Application story
I applied via On-campus. They visited our college in Dec 2021. It was followed by 1 test and 3 interviews. Post that I got the offer in 2 days.
Why selected/rejected for the role?
I was selected for this role as they liked my previous work a lot. I was doing internship with Nokia at that time and worked on Devops project. Since it was a similar role, they were pretty impressed
Preparation
Duration: 6 months
Topics: Linux, Git, Computer Networks, DBMS, Data Structures And Algorithms
Tip
Tip

Tip 1 : Have your linux basics cleared
Tip 2 : Don't say no directly if you don't know the answer. Just try and take help from the interviewer

Application process
Where: Campus
Eligibility: 8 CGPA
Resume Tip
Resume tip

Tip 1: Have Linux and Git in your resume
Tip 2: Don't fake it. They ask what you write in your resume

Interview rounds

01
Round
Easy
Online Coding Interview
Duration90 mins
Interview date9 Dec 2021
Coding problem1

It was a mix of mcq and coding questions. There were 60 mcq and 1 coding question. It was easy in nature

1. Pair Sum

Easy
15m average time
90% success
0/40
Asked in companies
Media.netExpedia GroupQuikr

You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to return the list of all pairs of elements such that each sum of elements of each pair equals 'S'.

Note:

Each pair should be sorted i.e the first value should be less than or equals to the second value. 

Return the list of pairs sorted in non-decreasing order of their first value. In case if two pairs have the same first value, the pair with a smaller second value should come first.
Problem approach

The idea is to use the two-pointer technique. But for using the two-pointer technique, the array must be sorted. Once the array is sorted the two pointers can be taken which mark the beginning and end of the array respectively. If the sum is greater than the sum of those two elements, shift the right pointer to decrease the value of the required sum and if the sum is lesser than the required value, shift the left pointer to increase the value of the required sum.

Try solving now
02
Round
Medium
Video Call
Duration30 mins
Interview date3 Jan 2022
Coding problem1

1. Minimum Depth Of Binary Tree

Moderate
20m average time
80% success
0/80
Asked in companies
FacebookGoldman SachsMakeMyTrip

You have been given a Binary Tree of integers, find the minimum depth of this Binary Tree. The minimum depth of a Binary Tree is the number of nodes along the shortest path from the root node down to the nearest leaf node.

Note:
A leaf is a node with no children.
For example:
For the given binary tree

alt text

Output: 2
The shortest path is from root node 1 to leaf node 2 which contains 2 nodes in the path. Hence, the minimum depth is 2.
Try solving now
03
Round
Medium
Video Call
Duration30 mins
Interview date3 Jan 2022
Coding problem1

1. Convert binary tree to mirror tree

Easy
15m average time
85% success
0/40
Asked in companies
AdobeWalmartThales

Given a binary tree, convert this binary tree into its mirror tree.

A binary tree is a tree in which each parent node has at most two children.

Mirror of a Tree: Mirror of a Binary Tree T is another Binary Tree M(T) with left and right children of all non-leaf nodes interchanged.

alt text

Note:
1. Make in-place changes, that is, modify the nodes given a binary tree to get the required mirror tree.
Problem approach

The idea is to traverse recursively and swap the right and left subtrees after traversing the subtrees.

Follow the steps below to solve the problem:

Call Mirror for left-subtree i.e., Mirror(left-subtree)
Call Mirror for right-subtree i.e., Mirror(right-subtree)
Swap left and right subtrees.
temp = left-subtree
left-subtree = right-subtree
right-subtree = temp

Try solving now
04
Round
Easy
HR Round
Duration15 mins
Interview date3 Jan 2022
Coding problem1

1. Basic HR Questions

Why you want to join PhonePe
Why SRE role

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 remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
4 rounds | 7 problems
Interviewed by PhonePe
3076 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by PhonePe
0 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 6 problems
Interviewed by PhonePe
2218 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by PhonePe
5037 views
1 comments
0 upvotes