Paytm (One97 Communications Limited) interview experience Real time questions & tips from candidates to crack your interview

SDE - 2

Paytm (One97 Communications Limited)
upvote
share-icon
4 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: DSA, Trees and Graphs, System Design, LLD, OOPS
Tip
Tip

Tip 1 : Pratice DSA and focus on the core subject like Database and OS
Tip 2 : Practice atlest 2 question everday to maintain consistency.

Application process
Where: Campus
Eligibility: For SDE-2 the minium 2 year of work experience was required.
Resume Tip
Resume tip

Tip 1 : Crisp Resume : Every body knows about this step, you must create a crisp resume mentioning about your key skills, always add impact numbers if possible (for example : increased efficiency by 50%, reduced cost by 2X, etc.) Add keywords around your skills, highlight them using BOLD in resume. 
Tip 2 : Use Linkedin : Send connections requests directly to the recruiters rather than asking for referrals.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 Minutes
Interview date16 Jul 2021
Coding problem2

Anytime

1. Sort An Array of 0s, 1s and 2s

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

You have been given an array/list 'arr' consisting of 'n' elements.


Each element in the array is either 0, 1 or 2.


Sort this array/list in increasing order.


Do not make a new array/list. Make changes in the given array/list.


Example :
Input: 'arr' = [2, 2, 2, 2, 0, 0, 1, 0]

Output: Final 'arr' = [0, 0, 0, 1, 2, 2, 2, 2]

Explanation: The array is sorted in increasing order.
Problem approach

Count the number of 0s, 1s and 2s in the given array. Then store all the 0s in the beginning followed by all the 1s then all the 2s.

Try solving now

2. Connect N Ropes With Minimum Cost

Easy
20m average time
80% success
0/40
Asked in companies
Paytm (One97 Communications Limited)PharmEasyOptum

You have been given 'N' ropes of different lengths, we need to connect these ropes into one rope. The cost to connect two ropes is equal to sum of their lengths. We need to connect the ropes with minimum cost.

The test-data is such that the result will fit into a 32-bit integer.

Problem approach

I tried it with a min-heap and insert all lengths into the min-heap. Extract the minimum and second minimum from min-heap. Add the above two extracted values and insert the added value to the min-heap. Maintain a variable for total cost and keep incrementing it by the sum of extracted values. Return the value of this total cost

Try solving now
02
Round
Medium
Online Coding Test
Duration60 Minutes
Interview date17 May 2022
Coding problem2

1. Maximum Subarray Sum

Moderate
0/80
Asked in companies
SAP LabsThought WorksAcko

You are given an array/list ARR consisting of N integers. Your task is to find the maximum possible sum of a non-empty subarray(contagious) of this array.

Note: An array C is a subarray of array D if it can be obtained by deletion of several elements(possibly zero) from the beginning and the end of array D.

For e.g.- All the non-empty subarrays of array [1,2,3] are [1], [2], [3], [1,2], [2,3], [1,2,3].

Problem approach

I had already solved this question so i have pretty much good idea about the question.
So first,i tried to solving by storing the sum at every step in hashmap. Which was not time and space efficent.
then I solved this question by the Kadane’s algorithm.

Try solving now

2. Diameter Of Binary Tree

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

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

in this i have caluclated the height of left side tree then height of right side tree and added the result and returned the values in recursion. I have created one height function,and then call the function (left_height + right_height + 1) for each node and update the result.

Try solving now
03
Round
Medium
Video Call
Duration60 Minutes
Interview date17 May 2022
Coding problem2

This round was more aroung sytem design and my past work experience.

1. Project Based Question

He asked me about the all the work project i have done , then he asked me about the overall architecture of the system, like how the system work.

Problem approach

Tip 1 : In this interviewer was trying to understand how depth knowledge i have on the system which i am currently working on.
Tip 2 : Understand the high level design of the system , how data follow and data store works.

2. System Design Question

He asked me to desgin a bookmyshow and then started asking question around the design

Problem approach

Tip 1 : The solution can never be a right or wrong, it’s like telling a story. The preparation for this round is really subjective. Start with the requirements and microservice which will need for system data follow then design db around that. 
Tip 2 : Need to understand depth of systems to design good systems. Things like which database would you use, where will you implement caching, at what place you’ll go for async calls rather than sync calls.

04
Round
Easy
HR Round
Duration30 Minutes
Interview date18 May 2022
Coding problem1

This is non-tech round.They just want to check your nature ,attitude and team work skills.

1. Basic HR questions

This was a very small discussion where HR asked me why do you want to leave my current job and CTC that they are offering and all.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

To make an AI less repetitive in a long paragraph, you should increase:

Choose another skill to practice
Similar interview experiences
company logo
SDE - 2
4 rounds | 7 problems
Interviewed by Paytm (One97 Communications Limited)
3059 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by Paytm (One97 Communications Limited)
733 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 10 problems
Interviewed by Paytm (One97 Communications Limited)
542 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 5 problems
Interviewed by Paytm (One97 Communications Limited)
480 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29511 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6661 views
1 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Amazon
5158 views
0 comments
0 upvotes