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

Software Engineer

Paytm (One97 Communications Limited)
upvote
share-icon
3 rounds | 5 Coding problems

Interview preparation journey

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

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.

Application process
Where: Other
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.

Interview rounds

01
Round
Easy
Online Coding Test
Duration45 minutes
Interview date13 Dec 2021
Coding problem2

This was a coding test round. 
2 questions. 1 was basic level. 2 was of medium level.

1. Number of Islands

Easy
0/40
Asked in companies
PhonePeExpedia GroupRazorpay

You have been given a non-empty grid consisting of only 0s and 1s. You have to find the number of islands in the given grid.

An island is a group of 1s (representing land) connected horizontally, vertically or diagonally. You can assume that all four edges of the grid are surrounded by 0s (representing water).

Problem approach

The question boils down to finding the number of connected components in an undirected graph. Now comparing the connected components of an undirected graph with this problem, the node of the graph will be the “1’s” (land) in the matrix. 
BFS or DFS can be used to solve this problem. In each BFS call, a component or a sub-graph is visited. We will call BFS on the next un-visited component. The number of calls to BFS function gives the number of connected components. A cell in 2D matrix has 8 neighbors. So for each cell, we process all its 8 neighbors. We keep track of the visited 1s so that they are not visited again using a visited matrix.


Time Complexity : O(m*n) where m*n is the size of the given matrix
Space Complexity : O(min(m,n))

Try solving now

2. Find Excel column number from column title

Easy
23m average time
0/40
Asked in companies
OracleExpedia GroupJP Morgan

You have been given a column title as appears in an Excel sheet, return its corresponding column number.

For example:
A -> 1
B -> 2
C -> 3
...
Z -> 26
AA -> 27
AB -> 28 
...
Problem approach

For every additional digit of the string, multiply the value of the digit by 26^n where n is the number of digits it is away from the one's place. 
This is similar to how the number 254 could be broken down as this: (2 x 10 x 10) + (5 x 10) + (4). For this question, 26 will be used as a base instead of 10. 
For s = "BCM" the final solution would be (2 x 26 x 26) + (3 x 26) + (13)
This process can be carried out iteratively. Start at looking at the first character of the string. Add the integer equivalent of that character to the running sum and continue. For every new character, multiply the running sum by 26 before adding the new digit to signify we are changing places.

Try solving now
02
Round
Easy
Video Call
Duration60 minutes
Interview date13 Dec 2021
Coding problem2

Technical interview round with questions on DSA.

1. Find the missing number.

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

You are given an array 'nums' consisting of first N positive integers. But from the N integers, one of the integers occurs twice in the array, and one of the integers is missing. You need to determine the repeating and the missing integer.

Example:
Let the array be [1, 2, 3, 4, 4, 5]. In the given array ‘4’ occurs twice and the number ‘6’ is missing.
Problem approach

XOR approach can be used to solve this question in an efficient manner. The following property of XOR can be used :
If x1^x2^…xn = a and x1^x2^..xn-1 = b , then a^b = xn


Steps:
1. Declare two variables a= 0 and b = 0


2. Calculate the xor of numbers from 1 to n and store them in a i.e. 1^2^…n = a. 


3. Now traverse the array from start to end.


4. For every index i update b as b = b ^ arr[i]


5. Return the missing number as a ^ b. 


Time Complexity : O(N)
Space complexity : O(1)

Try solving now

2. Find the maximum path sum between two leaves of a binary tree

Hard
50m average time
35% success
0/120
Asked in companies
OYOAmazonMathworks

You are given a non-empty binary tree where each node has a non-negative integer value. Return the maximum possible sum of path between any two leaves of the given tree.

The path is also inclusive of the leaf nodes and the maximum path sum may or may not go through the root of the given tree.

If there is only one leaf node in the tree, then return -1.

Problem approach

One approach would be to traverse the tree and for every traversed node X :
1) Find maximum sum from leaf to root in left subtree of X 
2) Find maximum sum from leaf to root in right subtree of X. 
3) Add the above two calculated values and X->data and compare the sum with the maximum value obtained so far and update the maximum value. 
4) Return the maximum value.

The time complexity of above solution is O(n2)

This question can also be solved in a single traversal of binary tree. The idea is to maintain two values in recursive calls : 
1) Maximum root to leaf path sum for the subtree rooted under current node. 
2) The maximum path sum between leaves (desired output).

For every visited node X, we find the maximum root to leaf sum in left and right subtrees of X. We add the two values with X->data, and compare the sum with maximum path sum found so far.

Try solving now
03
Round
Easy
HR Round
Duration30 minutes
Interview date13 Dec 2021
Coding problem1

HR round with typical behavioral problems.

1. Basic HR Questions

1. Thorough discussion of projects.
2. What are your salary expectations?

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.

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
Software Engineer
4 rounds | 9 problems
Interviewed by Paytm (One97 Communications Limited)
1456 views
0 comments
0 upvotes
company logo
Software Engineer
4 rounds | 8 problems
Interviewed by Paytm (One97 Communications Limited)
550 views
1 comments
0 upvotes
company logo
Software Engineer
4 rounds | 8 problems
Interviewed by Paytm (One97 Communications Limited)
458 views
0 comments
0 upvotes
company logo
Software Engineer
3 rounds | 6 problems
Interviewed by Paytm (One97 Communications Limited)
503 views
1 comments
0 upvotes
Companies with similar interview experiences
company logo
Software Engineer
3 rounds | 5 problems
Interviewed by Mindtree
12178 views
7 comments
0 upvotes
company logo
Software Engineer
3 rounds | 7 problems
Interviewed by Optum
7856 views
1 comments
0 upvotes
company logo
Software Engineer
5 rounds | 5 problems
Interviewed by Microsoft
9947 views
1 comments
0 upvotes