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

Senior Software Engineer

PayU
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, Algorithms, System Design, iOS, OOPS
Tip
Tip

Tip 1 : Try as much as possible question for data structure and algorithm.
Tip 2 : Read topics deeply, use swift doc.
Tip 3 : Try to implement them by yourself.

Application process
Where: Other
Eligibility: Above 2 years of experience
Resume Tip
Resume tip

Tip 1 : Mention your work, you have done till now.
Tip 2 : Mention all tools and technologies.

Interview rounds

01
Round
Medium
Video Call
Duration60 minutes
Interview date5 Nov 2020
Coding problem2

Standard DS/Algo round

1. Print all pairs with given sum

Easy
15m average time
90% success
0/40
Asked in companies
SalesforceUberPayU

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.
Try solving now

2. Bottom View of a Binary Tree

Moderate
10m average time
90% success
0/80
Asked in companies
OYOMicrosoftAmazon

You are given a 'Binary Tree'.


Return the bottom view of the binary tree.


Note :
1. A node will be in the bottom-view if it is the bottom-most node at its horizontal distance from the root. 

2. The horizontal distance of the root from itself is 0. The horizontal distance of the right child of the root node is 1 and the horizontal distance of the left child of the root node is -1. 

3. The horizontal distance of node 'n' from root = horizontal distance of its parent from root + 1, if node 'n' is the right child of its parent.

4. The horizontal distance of node 'n' from root = horizontal distance of its parent from the root - 1, if node 'n' is the left child of its parent.

5. If more than one node is at the same horizontal distance and is the bottom-most node for that horizontal distance, including the one which is more towards the right.


Example:
Input: Consider the given Binary Tree:

alt text

Output: 4 2 6 3 7

Explanation:
Below is the bottom view of the binary tree.

alt text

1 is the root node, so its horizontal distance = 0.
Since 2 lies to the left of 0, its horizontal distance = 0-1= -1
3 lies to the right of 0, its horizontal distance = 0+1 = 1
Similarly, horizontal distance of 4 = Horizontal distance of 2 - 1= -1-1=-2
Horizontal distance of 5 = Horizontal distance of 2 + 1=  -1+1 = 0
Horizontal distance of 6 = 1-1 =0
Horizontal distance of 7 = 1+1 = 2

The bottom-most node at a horizontal distance of -2 is 4.
The bottom-most node at a horizontal distance of -1 is 2.
The bottom-most node at a horizontal distance of 0 is 5 and 6. However, 6 is more towards the right, so 6 is included.
The bottom-most node at a horizontal distance of 1 is 3.
The bottom-most node at a horizontal distance of 2 is 7.

Hence, the bottom view would be 4 2 6 3 7


Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date10 Nov 2020
Coding problem3

This round had questions majorly from iOS and Swift.

1. Swift Question

What is ARC in Swift and explain how it works?

2. iOS Question

What are retain cycles and memory leaks in iOS?

3. Swift Question

What is the difference between Weak and Unowned References in Swift?

05
Round
Easy
HR Round
Duration30 minutes
Interview date20 Nov 2020
Coding problem1

This is a cultural fitment testing round. HR was very frank and asked standard questions. Then we discussed about my role.

1. Basic HR Question

Why should we hire you?

Problem approach

Tip 1 : The cross questioning can go intense some time, think before you speak.


Tip 2 : Be open minded and answer whatever you are thinking, in these rounds I feel it is important to have opinion.
 

Tip 3 : Context of questions can be switched, pay attention to the details. It is okay to ask questions in these round, like what are the projects currently the company is investing, which team you are mentoring. How all is the work environment etc.


Tip 4 : Since everybody in the interview panel is from tech background, here too you can expect some technical questions. No coding in most of the cases but some discussions over the design can surely happen.

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
Software Engineer
3 rounds | 5 problems
Interviewed by PayU
2730 views
0 comments
0 upvotes
company logo
Software Testing Engineer
4 rounds | 15 problems
Interviewed by PayU
1246 views
0 comments
0 upvotes
company logo
Software Engineer
4 rounds | 4 problems
Interviewed by PayU
1272 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 4 problems
Interviewed by PayU
547 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Senior Software Engineer
1 rounds | 6 problems
Interviewed by Arcesium
3734 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 3 problems
Interviewed by Ernst & Young (EY)
4984 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 3 problems
Interviewed by HCL Technologies
3013 views
3 comments
0 upvotes