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

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Data Structures and algorithms, Operating systems, OOPS, System Design, Dynamic Programming and GraphsEx - Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Do Leetcode/Code studio/gfg (at least 350 questions)
Tip 2 : Prepare your resume well and composed
Tip 3 : Practice your aptitude and HR questions beforehand

Application process
Where: Campus
Eligibility: Above 8.5 cgpa
Resume Tip
Resume tip

Tip 1 : Shouldn't exceed 2 pages
Tip 2 : Make sure that you don't include too many certifications or skills

Interview rounds

01
Round
Easy
Online Coding Interview
Duration75 minutes
Interview date6 Mar 2022
Coding problem2

30 mcq and 3 coding questions were asked. The exam was online at 6 pm in the evening.

1. Median of two sorted arrays

Hard
25m average time
65% success
0/120
Asked in companies
IBMAmazonAdobe

Given two sorted arrays 'a' and 'b' of size 'n' and 'm' respectively.


Find the median of the two sorted arrays.


Median is defined as the middle value of a sorted list of numbers. In case the length of list is even, median is the average of the two middle elements.


The expected time complexity is O(min(logn, logm)), where 'n' and 'm' are the sizes of arrays 'a' and 'b', respectively, and the expected space complexity is O(1).


Example:
Input: 'a' = [2, 4, 6] and 'b' = [1, 3, 5]

Output: 3.5

Explanation: The array after merging 'a' and 'b' will be { 1, 2, 3, 4, 5, 6 }. Here two medians are 3 and 4. So the median will be the average of 3 and 4, which is 3.5.
Problem approach

We will do a binary search in one of the arrays which have a minimum size among the two.

Firstly, calculate the median position with (n+1)/2. Point two-pointer, say low and high, equal to 0 and size of the array on which we are applying binary search respectively. Find the partition of the array. Check if the left half has a total number of elements equal to the median position. If not, get the remaining elements from the second array. Now, check if partitioning is valid. This is only when l1<=r2 and l2<=r1. If valid, return max(l1,l2)(when odd number of elements present) else return (max(l1,l2)+min(r1,r2))/2.

If partitioning is not valid, move ranges. When l1>r2, move left and perform the above operations again. When l2>r2, move right and perform the above operations.

Try solving now
Moderate
0/80
Asked in companies
Thought WorksPaytm (One97 Communications Limited)Salesforce

Given an input string (STR), print all possible permutations of the input string.

Note:
The input string may contain the same characters, so there will also be the same permutations.
The order of permutations doesn’t matter.
Try solving now
02
Round
Easy
Video Call
Duration60 minutues
Interview date14 Mar 2022
Coding problem2

It was taken by a Senior Technical Lead, which was a live coding round and some cross-questioning on the same.

Brief Introduction about me and my skills.
Basic React principles.
Live coding round

1. Frontend based question

Implement the bootstrap Tab component (responsive) with 3 or more tabs

2. Number of Connected Computers.

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

You have been given a grid ‘ARR’ of size ‘N' * M’. ‘ARR[i][j]’ is ‘1’ if the computer is present at position ‘(i,j)’ otherwise it is zero. A computer is said to be a connected computer if there is a computer in its row or column other than itself. Your task is to return the number of connected computers.

Example:

subsequence

Let’s say you have a grid [[1,0],[1,1]]. We can say the computer ‘ARR[0][0]’ is a connected computer because there is a computer in its column other than itself. We can say the computer ‘arr[1][0]’ is a connected computer because there is a computer in its row and column other than itself. We can say the computer ‘arr[1][1]’ is a connected computer because there is a computer in its row other than itself. Therefore the number of connected computers is 3.
Problem approach

Figure out the number of connected components in the graph using UF.
Total pairs for n nodes = (n* (n-1)/2);
Figure out total unreachable nodes by subtracting total nodes - reachable/connected nodes.

Try solving now
03
Round
Easy
HR Round
Duration30 minutes
Interview date15 Mar 2022
Coding problem3

A discussion about my last employment.
Tech stack that I was implementing there.
Discussion about projects mentioned in my resume and cross-questioning on the same.

1. Basic HR Question

Discussion about work that I’ll be doing in the company if selected.

 

2. Implement Trie

Hard
41m average time
0/120
Asked in companies
AmazonPaytm (One97 Communications Limited)Walmart

Implement Trie Data Structure to support these operations:

insert(word) - To insert a string "word" in Trie
search(word) - To check if string "word" is present in Trie or not.
startsWith(word) - To check if there is any string in the Trie that starts with the given prefix string "word".


Three type of queries denote these operations:

Type 1: To insert a string "word" in Trie.
1 word

Type 2: To check if the string "word" is present in Trie or not.
2 word

Type 3: To check if there is any string in the Trie that starts with the given prefix string "word".
3 word


Try solving now

3. Implement Stack With Linked List

Moderate
30m average time
73% success
0/80
Asked in companies
QualcommPaytm (One97 Communications Limited)Cisco

You must implement the Stack data structure using a Singly Linked List.


Create a class named 'Stack' which supports the following operations(all in O(1) time):


getSize: Returns an integer. Gets the current size of the stack

isEmpty: Returns a boolean. Gets whether the stack is empty

push: Returns nothing. Accepts an integer. Puts that integer at the top of the stack

pop: Returns nothing. Removes the top element of the stack. It does nothing if the stack is empty.

getTop: Returns an integer. Gets the top element of the stack. Returns -1 if the stack is empty
Try solving now

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
3 rounds | 10 problems
Interviewed by Paytm (One97 Communications Limited)
542 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