Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
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
4 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, Pointers, OOPS, System Design, Algorithms, Java spring, DBMS
Tip
Tip

Tip 1 : Practice well. 
Tip 2 : The questions asked are easy to medium, just have good grip over the concepts.
Tip 3 : Software Engineering experience is a plus.

Application process
Where: Other
Eligibility:
Resume Tip
Resume tip

Tip 1 : Carefully curate the experiences that best capture your skills and problem-solving abilities.
Tip 2 : Employers spend an average of six seconds per resume (at least at first glance!). Take the time to scan your document with fresh eyes and to make sure everything on the page is relevant for the specific job for which you’re applying.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration70 minutes
Interview date4 Dec 2021
Coding problem3

There were 3 coding questions and the questions were easy to medium level.

1. Maximum Consecutive Ones

Easy
0/40
Asked in companies
OlaGoogleAmazon

You are given an array ‘ARR’ of length ‘N’ consisting of only ‘0’s and ‘1’s. Your task is to determine the maximum length of the consecutive number of 1’s.


For Example:
ARR = [0, 1, 1, 0, 0, 1, 1, 1], here you can see the maximum length of consecutive 1’s is 3. Hence the answer is 3.
Try solving now

2. Partition List

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

You are given a Singly Linked List of integers with a head pointer. Every node of the Linked List has a value written on it.

A sample Linked List

1

Now you have been given an integer value ‘K’. Your task is to rearrange this linked list such that the following conditions hold true :

1. All nodes that have a value less than ‘K’ must come before the nodes that have a value greater than equal to ‘K’.

2. All nodes must maintain the original relative order as they have present in the original linked list after rearrangement.

Try solving now

3. Maximum sum of non-adjacent elements

Moderate
15m average time
85% success
0/80
Asked in companies
OYOOLX GroupWalmart

You are given an array/list of ‘N’ integers. You are supposed to return the maximum sum of the subsequence with the constraint that no two elements are adjacent in the given array/list.

Note:
A subsequence of an array/list is obtained by deleting some number of elements (can be zero) from the array/list, leaving the remaining elements in their original order.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date8 Dec 2021
Coding problem2

Two coding questions and discussion over my projects in my current company

1. K Most Frequent Elements

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

You are given an Integer array ‘ARR’ and an Integer ‘K’.


Your task is to find the ‘K’ most frequent elements in ‘ARR’. Return the elements in any order.


For Example:

You are given ‘ARR’ = {1, 2, 2, 3, 3} and ‘K’ = 2. 

The answer will {2, 3} as 2 and 3 are the elements occurring most times.
Try solving now

2. Next Greater Element

Easy
10m average time
90% success
0/40
Asked in companies
MicrosoftAmazonPaytm (One97 Communications Limited)

You have been given an array/list ‘ARR’ consisting of ‘N’ positive integers. Your task is to return the Next Greater Element(NGE) for every element.

The Next Greater Element for an element ‘X’ is the first element on the right side of ‘X’ in the array 'ARR', which is greater than ‘X’. If no such element exists to the right of ‘X’, then return -1.

For example:
For the given array 'ARR' = [7, 12, 1, 20]

The next greater element for 7 is 12.
The next greater element for 12 is 20. 
The next greater element for 1 is 20. 
There is no greater element for 20 on the right side.

So, the output is [12, 20, 20, -1].
Try solving now
03
Round
Easy
Video Call
Duration60 minutes
Interview date10 Dec 2021
Coding problem2

1 basic coding question and concepts of Java were discussed in detail.

1. Search In Rotated Sorted Array

Moderate
30m average time
65% success
0/80
Asked in companies
Tata 1mgWalmartDelhivery

Aahad and Harshit always have fun by solving problems. Harshit took a sorted array consisting of distinct integers and rotated it clockwise by an unknown amount. For example, he took a sorted array = [1, 2, 3, 4, 5] and if he rotates it by 2, then the array becomes: [4, 5, 1, 2, 3].

After rotating a sorted array, Aahad needs to answer Q queries asked by Harshit, each of them is described by one integer Q[i]. which Harshit wanted him to search in the array. For each query, if he found it, he had to shout the index of the number, otherwise, he had to shout -1.

For each query, you have to complete the given method where 'key' denotes Q[i]. If the key exists in the array, return the index of the 'key', otherwise, return -1.

Note:

Can you solve each query in O(logN) ?
Try solving now

2. Java Theory

  • Describe ORM
  • Define Hibernate
  • What is IOC and DI?
Problem approach

Tip 1 : If need to touch on the concepts of Java spring, go through resources on internet
Tip 2 : Just keep the conversation light and keep discussing the solutions.
Tip 3 : Ask for help if you get stuck somewhere.

04
Round
Easy
HR Round
Duration45 minutes
Interview date14 Dec 2021
Coding problem1

A little discussion about my current project and my introduction and then was mostly the interviewer telling me about the projects and all.

1. Basic HR Questions

  • Tell me about yourself
  • What are your strength and weakness?
  • Tell me one incident when you were not able to cooperate with the team in your previous experience?
Problem approach

Tip 1 : Be honest and open
Tip 2 : Show enthusiasm for the job
Tip 3 : Know how to tell your story

Here's your problem of the day

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

Skill covered: Programming

What can be the possible extension for the HTML5 file?

Choose another skill to practice
Start a Discussion
Similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by Paytm (One97 Communications Limited)
587 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Paytm (One97 Communications Limited)
485 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 10 problems
Interviewed by Paytm (One97 Communications Limited)
309 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 8 problems
Interviewed by Paytm (One97 Communications Limited)
259 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
105353 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
50245 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
31297 views
6 comments
0 upvotes