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

SDE - 1

PayU
upvote
share-icon
4 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: DSAMAPSOOPsDynamic & Greedy AlgoGFG coding questions
Tip
Tip

Tip 1 : try to prepare according to the company interview pattern
Tip 2 : focus more on DSA part
Tip 3 : keep your self calm during the interview

Application process
Where: Naukri
Eligibility: No
Resume Tip
Resume tip

Tip 1 : keep it short and crips
Tip 2 : mention everything in brief

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 mins
Interview date5 Feb 2022
Coding problem1

It was mainly coding round

1. Longest Subarray Zero Sum

Moderate
18m average time
85% success
0/80
Asked in companies
AmazonOlaPayU

Given an array arr of length N consisting of positive and negative integers, return the length of the longest subarray whose sum is zero.

Try solving now
02
Round
Medium
Online Coding Interview
Duration1 hour
Interview date6 Mar 2022
Coding problem1

1. Vertical Order Traversal

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

Given a binary tree, return the vertical order traversal of the values of the nodes of the given tree.

For each node at position (X, Y), (X-1, Y-1) will be its left child position while (X+1, Y-1) will be the right child position.

Running a vertical line from X = -infinity to X = +infinity, now whenever this vertical line touches some nodes, we need to add those values of the nodes in order starting from top to bottom with the decreasing ‘Y’ coordinates.

Note:
If two nodes have the same position, then the value of the node that is added first will be the value that is on the left side.
For example:
For the binary tree in the image below.

alt text

The vertical order traversal will be {2, 7, 5, 2, 6, 5, 11, 4, 9}.
Try solving now
03
Round
Medium
Online Coding Interview
Duration60 mins
Interview date6 Mar 2022
Coding problem1

1. Diameter Of Binary Tree

Easy
10m average time
90% success
0/40
Asked in companies
PhonePeAmazonPayU

You are given a Binary Tree.


Return the length of the diameter of the tree.


Note :
The diameter of a binary tree is the length of the longest path between any two end nodes in a tree.

The number of edges between two nodes represents the length of the path between them.
Example :
Input: Consider the given binary tree:

Example

Output: 6

Explanation:
Nodes in the diameter are highlighted. The length of the diameter, i.e., the path length, is 6.


Problem approach

You can google it

Try solving now
04
Round
Medium
Video Call
Duration60 mins
Interview date6 Feb 2022
Coding problem1

1. Technical questions

REST APIs
Scaling of web application

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
2 rounds | 3 problems
Interviewed by PayU
1791 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 2 problems
Interviewed by PayU
1588 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by PayU
2231 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by PayU
1456 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