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 | 10 Coding problems

Interview preparation journey

expand-icon
Journey
I have completed my Engineering from Amity University Noida, specializing in Computer Science Engineering recently. In the second year, I started learning Java and DSA from coding ninjas. After learning DSA I started working on projects. I was pretty confident in my skills. I used to practice DSA questions daily on Codezen. I was pretty much confident with my skills.
Application story
I got this opportunity on campus. A form was rolled out for this, so we must fill in all the necessary details and a resume.
Why selected/rejected for the role?
I got rejected for this role. I was not confident in the interview. I knew all the answers perfectly but there was a lack of confidence. So from this incident, I learned that first you need confidence then knowledge.
Preparation
Duration: 10 months
Topics: Data Structures, Algorithms, OOPS, DBMS, JAVA, OS
Tip
Tip

Tip 1: Practice at least 250 Questions. 
Tip 2: Prepare at least 2 good projects.
Tip 3: Communication skills should be good.

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

Tip 1: Be honest with your resume.
Tip 2: The resume should be crisp and short.

Interview rounds

01
Round
Medium
Online Coding Test
Duration70 minutes
Interview date17 Aug 2021
Coding problem3

It was all about coding round questions.

1. Find Minimum Number Of Coins

Easy
15m average time
85% success
0/40
Asked in companies
Goldman SachsMicrosoftAmazon

Given an infinite supply of Indian currency i.e. [1, 2, 5, 10, 20, 50, 100, 500, 1000] valued coins and an amount 'N'.


Find the minimum coins needed to make the sum equal to 'N'. You have to return the list containing the value of coins required in decreasing order.


For Example
For Amount = 70, the minimum number of coins required is 2 i.e an Rs. 50 coin and a Rs. 20 coin.
Note
It is always possible to find the minimum number of coins for the given amount. So, the answer will always exist.
Try solving now

2. Count Triplets

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

You have been given an integer ‘X’ and a non-decreasing sorted doubly linked list with distinct nodes.

Your task is to return the number of triplets in the list that sum up to the value ‘X’.

Try solving now

3. Wildcard Pattern Matching

Hard
50m average time
30% success
0/120
Asked in companies
AdobeGoldman SachsInfo Edge India (Naukri.com)

Given a text and a wildcard pattern of size N and M respectively, implement a wildcard pattern matching algorithm that finds if the wildcard pattern is matched with the text. The matching should cover the entire text not partial text.

The wildcard pattern can include the characters ‘?’ and ‘*’

 ‘?’ – matches any single character 
 ‘*’ – Matches any sequence of characters(sequence can be of length 0 or more)
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date24 Aug 2021
Coding problem4

The interviewer was very friendly. He asked me to introduce myself. 

Then he asked me some questions.

1. Kth Smallest Element

Moderate
0/80
Asked in companies
FacebookAmazonWalmart

You are given a square matrix ‘NxN’ rows and columns. The matrix is sorted, meaning all rows and columns of the matrix are sorted in ascending order. You are also given an integer ‘K’, and your task is to find the ‘K’th smallest element in the sorted order.

For example:
You are given ‘mat’ = [[1, 2, 2,], [3, 3, 4], [5, 6 ,7]]] and ‘K’ = 5, the elements of the matrix are [1, 2, 2, 3, 3, 4, 5, 6, 7], the 5th smallest element in the matrix is 3. Hence the answer is 3.
Try solving now

2. Arithmetic Expression Evaluation

Moderate
30m average time
70% success
0/80
Asked in companies
AdobeFacebookMicrosoft

You are given a string ‘expression’ consists of characters ‘+’, ‘-’, ‘*’, ‘/’, ‘(‘, ‘)’ and ‘0’ to ‘9’, that represents an Arithmetic Expression in Infix Notation. Your task is to evaluate this Arithmetic Expression.

In Infix Notation, operators are written in-between their operands.

Note :
1. We consider the ‘/’ operator as the floor division.

2. Operators ‘*’ and ‘/’ expression has higher precedence over operators‘+’ and ‘-’ 

3. String expression always starts with ‘(‘ and ends with ‘)’.

4. It is guaranteed that ‘expression’ represents’ a valid expression in Infix notation.

5. It is guaranteed that there will be no case that requires division by 0.

6. No characters other than those mentioned above are present in the string. 

7. It is guaranteed that the operands and final result will fit in a 32-bit integer.
For example :
Consider string ‘expression’ = ‘((2+3)*(5/2))’. 
Then it’s value after evaluation will be ((5)*(2)) = 10. 
Try solving now

3. Greatest Common Divisor

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

You are given two numbers, ‘X’ and ‘Y’. Your task is to find the greatest common divisor of the given two numbers.

The Greatest Common Divisor of any two integers is the largest number that divides both integers.

For Example:
You are given ‘X’ as 20 and ‘Y’ as 15. The greatest common divisor, which divides both 15 and 20, is 5. Hence the answer is 5.
Try solving now

4. Top View Of Binary Tree

Moderate
25m average time
70% success
0/80
Asked in companies
Thought WorksSamsung R&D InstituteMicrosoft

You are given a Binary Tree of 'n' nodes.


The Top view of the binary tree is the set of nodes visible when we see the tree from the top.


Find the top view of the given binary tree, from left to right.


Example :
Input: Let the binary tree be:

Example

Output: [10, 4, 2, 1, 3, 6]

Explanation: Consider the vertical lines in the figure. The top view contains the topmost node from each vertical line.
Try solving now
03
Round
Medium
Video Call
Duration60 minutes
Interview date24 Aug 2021
Coding problem3

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

2. OS Questions

What are semaphores? (Learn)
What is virtual memory? (Learn)

Problem approach

Tip 1 : Read OS concepts thoroughly.

3. DBMS Questions

What are ACID properties? (Learn)

What are joins? (Learn)

Problem approach

Tip 1 : Do practice SQL queries.

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 | 8 problems
Interviewed by Paytm (One97 Communications Limited)
522 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