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

SDE - 1

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

Interview preparation journey

expand-icon
Journey
Got selected for the Paytm through the college placement. I took the online test on the 15 Sep and the next day received the mail for the interview round and there were 2 tech rounds and a call with HR.
Application story
I started preparation in March, and in mid-September, I got the chance to interview in Paytm and was selected after two tech rounds and a call with HR.
Why selected/rejected for the role?
I was selected for the role because I had a good grasp of the DSA and had in-depth knowledge about my project.
Preparation
Duration: 6 months
Topics: Data structures, OOPS, Operating System, DBMS, Blockchain
Tip
Tip

Tip 1 : Anything written on the resume should be answerable.
Tip 2 : Have a strong hold on your projects

Application process
Where: Campus
Eligibility: CGPA above 7
Resume Tip
Resume tip

Tip 1 : Keep it precise.
Tip 2 : Anything written on the resume should be answerable.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date15 Sep 2022
Coding problem2

The test consisted of 2 problems: one was a medium stack question, and the other was a hard queue question.

1. Lexicographically Smallest Array

Easy
15m average time
85% success
0/40
Asked in companies
OlaPaytm (One97 Communications Limited)Paytm (One97 Communications Limited)

You have been given an array/list ARR consisting of ‘N’ integers. You are also given a positive integer ‘K’.

Your task is to find the lexicographically smallest ARR that can be obtained by swapping at most K consecutive elements.

An array/list P is lexicographically smaller than its permutation Q if and only if, for the earliest index at which P and Q differ, P's element at that index is smaller than Q's element at that index. Example, P = [1, 12, 4, 7, 8] is lexicographically smaller than Q = [1, 12, 8, 4, 7].

For example, if ARR = [70, 60, 90, 21, 11] and K = 3, then-

Swap 1: We swap adjacent elements 90 and 21. So, ARR after one swap is [70, 60, 21, 90, 11].
Swap 2: We swap adjacent elements 60 and 21. So, ARR after one swap is [70, 21, 60, 90, 11].
Swap 3: We swap adjacent elements 70 and 21. So, ARR after one swap is [21, 70, 60, 90, 11].
The lexicographically smallest ARR after K = 3 swaps is [21, 70, 60, 90, 11].
Try solving now

2. Interleave The First Half Of The Queue With The Second Half

Easy
15m average time
85% success
0/40
Asked in companies
AmazonPaytm (One97 Communications Limited)

You have been given a queue of integers. You need to rearrange the elements of the queue by interleaving the elements of the first half of the queue with the second half.

Note :
The given queue will always be of even length.
For example :
If N= 10
and Q = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
then the output will be
 Q = [10, 60, 20, 70, 30, 80, 40, 90, 50, 100]
Try solving now
02
Round
Easy
Video Call
Duration45 minutes
Interview date17 Sep 2022
Coding problem4

The round started by the introduction and by the discussion on the project and hobbies. Then the interviewer started with the 2 DSA question and there was other question also.

1. Longest Palindromic Substring

Moderate
35m average time
78% success
0/80
Asked in companies
UiPathGrabTata Consultancy Services (TCS)

You are given a string ‘S’ of length ‘N’.

You must return the longest palindromic substring in ‘S’.

Note: Return any of them in case of multiple substrings with the same length.

Example:

Input: ‘S’ =’badam’

Output: ‘ada’

‘ada’ is the longest palindromic substring, and it can be proved that it is the longest possible palindromic substring.
Problem approach

This was a fairly easy question I have practiced the same question a number of times

Try solving now

2. Valid Parentheses

Easy
10m average time
80% success
0/40
Asked in companies
OracleSwiggyAmerican Express

You're given a string 'S' consisting of "{", "}", "(", ")", "[" and "]" .


Return true if the given string 'S' is balanced, else return false.


For example:
'S' = "{}()".

There is always an opening brace before a closing brace i.e. '{' before '}', '(' before ').
So the 'S' is Balanced.
Problem approach

In this explained the interviewer the stack based approach, was not asked to code

Try solving now

3. SQL

Find the 2nd highest salary from the table. (Practice)

4. OS Questions

What is paging? (Learn)

What do you mean by Distributed OS? (Learn)

03
Round
Easy
Video Call
Duration60 minutes
Interview date17 Sep 2022
Coding problem2

In this round I was asked just 1 easy DSA question, and the focus was on the project.

1. Left Rotations of An Array

Moderate
10m average time
90% success
0/80
Asked in companies
IBMCognizantPaytm (One97 Communications Limited)

You are given an array consisting of 'N' elements and you need to perform 'Q' queries on the given array. Each query consists of an integer which tells the number of elements by which you need to left rotate the given array. For each query return the final array obtained after performing the left rotations.

Note:

Perform each query on the original array only i.e. every output should be according to the original order of elements.

Example:

Let the array be [1, 2, 3, 4, 5, 6] and the queries be {2, 4, 1}. For every query, we’ll perform the required number of left rotations on the array.

For the first query, rotate the given array to the left by 2 elements, so the resultant array is: [3, 4, 5, 6, 1, 2].

For the second query, rotate the given array to the left by 4 elements, so the resultant array is: [5, 6, 1, 2, 3, 4].

For the third query, rotate the given array to the left by 1 element, so the resultant array is: [2, 3, 4, 5, 6, 1].
Try solving now

2. Project Based Questions

Explain your project to me, assuming that I am a tech beginner.

Why Blockchain?

Problem approach

The discussion was very deep and took place for more than 30 minutes there were many questions regarding how the blockchain technology worked and real-life use cases and how it could be beneficial for a financial company like Paytm.

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 - 1
2 rounds | 3 problems
Interviewed by Paytm (One97 Communications Limited)
923 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Paytm (One97 Communications Limited)
716 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Paytm (One97 Communications Limited)
519 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 10 problems
Interviewed by Paytm (One97 Communications Limited)
541 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114453 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57719 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34914 views
7 comments
0 upvotes