i
Paytm
Filter interviews by
I was interviewed in Aug 2021.
Round duration - 70 minutes
Round difficulty - Medium
There were 3 problems 1 was easy and 2 were of medium types.
The first line contains an integer '...
oddSum: denotes sum of nodes at odd levels, initially 0.
evenSum: denotes sum of nodes at ecen levels, initially 0.
level: the level of the current node, initially 1.
void oddEvenLevelHelper(current, oddSum, evenSum, level)
The idea is very simple and naive. We will process the rotten oranges second by second. Each second, we rot all the fresh oranges that are adjacent to the already rotten oranges. The time by which there are no rotten oranges left to process will be our minimum time.
In the first traversal of the grid, we will process all the cells with value 2 (rotten oranges). We will also mark their adjacent cells ...
Round duration - 50 minutes
Round difficulty - Medium
the interviewer was very polite and straightforward, he didn't ask me to introduce myself and he directly jumps to the coding problems.
What is new about the relationship between the and tags in HTML5?
Explain Components, Modules and Services in Angular
Initialize a variable ‘direction’ with 0 which means that the robot is initially facing towards the north.
direction: 0 -> Robot is facing towards the North
direction: 1 -> Robot is facing towards the West
direction: 2 -> Robot is facing towards the South
direction: 3 -> Robot is facing towards the West
Initialize two variables ‘x’ and ‘y’ as 0. They will represent the position ...
Round duration - 70 minutes
Round difficulty - Easy
What is a View in sql? What are the TRUNCATE, DELETE and DROP statements?
The idea is to find the transpose of the given matrix and then reverse the columns of the transposed matrix. For example:
For the given 2D matrix:
[ [ 1, 2, 3 ],
[ 4, 5, 6 ],
[ 7, 8, 9 ] ]
After taking transpose, it will become:
[ [ 1, 4, 7 ],
[ 2, 5, 8 ],
[ 3, 6, 9 ] ]
After reversing the columns, it will ...
Round duration - 20 minutes
Round difficulty - Easy
Tell me about yourself?
What do you know about Paytm?
What are your strength and weaknesses?
Job location preference?
Tip 1 : Deep knowledge of the projects mentioned in your resume is a must.
Tip 2 : Practice as many problems as you can from leetcode.
Tip 1 : mention 1 or 2 projects in your resume.
Tip 2 : don't put false things in your resume.
I was interviewed in Aug 2021.
Round duration - 70 minutes
Round difficulty - Medium
The test started around 3 pm and was of 70 minutes. 3 coding questions were asked which were mainly on trees and number theory.
For every element in the array, we will run a loop on its right side. As soon as we find an element on its right side which is greater than it, we will break the loop, assign it as the NGE of this element, move forward, and do the same for the next element.
Space Complexity: O(1)Explanation:O(1)
No extra space is used.
Time Complexity: O(n^2)Explanation:O(N ^ 2), Where N is the number of elements ...
Ceil of an integer i...
We will traverse the Binary search tree from the root node till we find the node whose key value is given, and upon getting that, we return the ceil value of it.
The steps are as follows:
Round duration - 60 minutes
Round difficulty - Medium
Interviewer was very friendly and supportive. My interview happened on google meet. What is a View? What is Denormalization? Difference between “==” and “===” operators in js.
In this approach, we consider every possible subarray that can be formed from the given array ‘ARR’. For every subarray ARR[i … j] considered, we need to check whether this is the smallest unsorted subarray or not.
The algorithm is as follows:
Try to solve the problem in 'Single Sca...
Use any good sorting algorithm like Merge Sort, Quick Sort or inbuilt sorting function of different languages.
O(1), As we are using constant space.
Time Complexity: O(nlogn)Explanation:O(N*log(N)), where ‘N’ is the size of the array.
We are using inbuilt sort algorithm which has Overall Time Complexity O(N*log(N))
Round duration - 60 minutes
Round difficulty - Medium
What are some of the advantages of Angular over other frameworks?
What is spooling?
What are the conditions for deadlock to occur?
Round duration - 10 minutes
Round difficulty - Easy
I got a call from HR in the evening around 6:30 pm.
Tell me about yourself?
Tip 1 : Do prepare such questions before hand only.
Tip 2 : Speak confidently.
How was your experience with previous two tech rounds?
Tip 1 : Do remember the names of the interviewers who took your interview.
What do you know about Paytm?
Tip 1 : Do a research before hand about what does the company do.
Tip 1 : Practice at least 350 questions to have good hold on data structures
Tip 2 : Practice at least 100 - 150 company specific coding questions.
Tip 3 : Try to give timing contests to build up your speed.
Tip 1 : Keep your resume only of 1 page
Tip 2 : Showcase your major projects on the top
I was interviewed before Mar 2021.
Round duration - 70 minutes
Round difficulty - Easy
there was some coding questions and some mcqs related to js, html, css, java and aptitude.
The brute force approach to find all the bridges in a given graph is to check for every edge if it is a bridge or not, by first not considering current edge is not in given graph and then checking if the vertices that it was connecting are still connected or not, using DFS(DepthFirst Search). Given below is an algorithm that will find all bridges in a graph.
Algorithm :
The task is to find the maximum amount of money Mr. X can rob from houses arranged in a circle without alerting the police.
The problem can be solved using dynamic programming.
Create two arrays to store the maximum amount of money robbed when considering the first house and when not considering the first house.
Iterate through the array and update the maximum amount of money robbed at each house.
The final answer will be
Tip 1 : Do 300+ questions on IB or leetcode or gfg
Tip 2 : Must do DSA course of coding ninjas for clear understanding
Tip 3 : Must complete CS subjects also
Tip 1 : not add too much things
Tip 2 : be confident that you write in CV
What people are saying about Paytm
I was interviewed before Mar 2021.
Round duration - 90 minutes
Round difficulty - Medium
It was in the evening, at around 3 - 4 PM. There were 3 coding questions. One easy, two moderate ones. The platform had autocomplete feature too.
Approach :
Algorithm :
Anagrams have a unique property: the counts of each distinct character present in both strings are the same. One way to check this is:
We will traverse the BST in a depth-first manner. The moment we encounter either of the nodes P or Q, we will return some boolean flag. The least common ancestor would then be the node for which both the subtree recursions return a ‘True’ flag value.
The algorithm will be -
Round duration - 50 Minutes
Round difficulty - Medium
They asked 2 coding questions and 2 sql queries in this round
The brute force solution is to pick all possible starting and ending positions for a substring and verify if it is a palindrome.
The steps are as follows:
The idea here is to travel over every elevation on the map and calculate the units of water the elevation can store.
Here is the algorithm :
A nested SQL query
Round duration - 50 Minutes
Round difficulty - Medium
This round was about OS, networking and my projects. What are the different ways to style a React component?
Name a few techniques to optimize React app performance.
Theory questions about OS . Multithreading, Scheduling Algorithms
There are 12 coins. 11 of them have same weight and one is light in weight than others. We have a weighing balance. Find the minimum times we have to balance to find out the lighter one.
Round duration - 30 Minutes
Round difficulty - Easy
It was a fun round, in which they ask about your preferences about programming languages, technologies or your hobbies. If you reach this round, it means that your chances of selection are 99%.
What was the biggest hurdle you faced while developing a project
Tip 1 : Be truthful, do build some projects on your own so that you can answer these kind of questions truthfully.
Tip 2 : Be confident
Tip 3 : Ask any questions you want to ask from the interviewer
Tip 1 : If weak in coding, enroll for Coding Ninjas eminence course
Tip 2 : Practice everyday, atleast 2- 3 questions
Tip 3 : Participate in weekly coding contests on leetcode
Tip 1 : Keep in One page
Tip 2 : Don't mention your hobbies, recruiters are not interested in them and moreover hobbies take up space
Tip 3 : Have some unique projects on your resume. The projects should be self made, not from code-along sessions from youtube.
Paytm interview questions for designations
I was interviewed before Mar 2021.
Round duration - 90 Minutes
Round difficulty - Easy
MCQ based on web and oops.
Traverse the tree T in preorder fashion and treat every node of the given tree T as the root, treat it as a subtree and compare the corresponding subtree with the given subtree S for equality. For checking the equality, we can compare all the nodes of the two subtrees.
So the basic idea is to traverse over the given tree T and treat every node as the root of the subtree currently being considere...
Round duration - 50 Minutes
Round difficulty - Easy
This round involved a discussion of a project I had undertaken recently and a coding problem. How does an Angular application work? List out differences between AngularJS and Angular
The task is to find the number of distinct ways to climb from the 0th step to the Nth step, where each time you can climb either one step or two steps.
Use dynamic programming to solve this problem
Create an array to store the number of ways to reach each step
Initialize the first two elements of the array as 1 and 2
For each subsequent step, the number of ways to reach that step is the sum of the number of ways to reach t...
Round duration - 80 Minutes
Round difficulty - Medium
The interview mostly focused on coding problems and Java-related concepts.
How is Linked List Implemented in java and when will you prefer it over ArrayList
OOPs Questions,
Discussion on Singelton Design Pattern
What is Normalisation and different Normal Forms for a Relational Table?
What is Indexing?
A discussion on Fn. dependencies
Observe that the Kth largest element of the array is (N - K + 1)th smallest element of the array. We iterate over the given array, find the smallest element of the array and replace it with an infinite value, and then again we find the smallest array and replace it with an infinite value. We repeat this process max(K, N-K+1) times. The smallest element we obtained at Kth step is Kth smallest elem...
Round duration - 30 Minutes
Round difficulty - Easy
This was the Hiring Manager Round. What is a Primary Key? What is a Cross-Join? What is the difference between Clustered and Non-clustered index?
O(1).
Since only constant extra space is required.
Time Complexity: O(n^2)Explanation:O(N ^ 2), where ‘N’ is the number of rows or columns in the matrix.
&nb...
Tip 1 : Practice Standard Dynamic Programming and Graph Theory Questions
Tip 2 : If you know Java, Be well versed with Fundamentals
Tip 3 : Have atleast one Good Project you can talk about
Tip 1 : Keep it Concise
Tip 2 : Only Mention Stuff you know
Get interview-ready with Top Paytm Interview Questions
I was interviewed in Sep 2020.
posted on 1 Oct 2024
I applied via Approached by Company and was interviewed in Sep 2024. There was 1 interview round.
It will be a basic maths questions.
As a general topic of trend in world.
To be known for programming knowledge about us.
Java 1.8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow you to write code in a more concise and readable way.
Functional interfaces are interfaces with a single abstract method, used for lambda expressions.
Streams provide a way to work with sequences of elements and perform operations on them.
Default methods allow interfaces to h...
Program to print elements sorted using Java 8 features
Use Stream API to sort the elements
Use lambda expressions for sorting
Use the sorted() method to sort the elements
I was interviewed in Jul 2021.
Round duration - 120 Minutes
Round difficulty - Medium
This was a coding round conducted from 12 PM to 2 PM and it was not proctored but we could not switch the tabs. There were 2 coding questions each of 100 marks. The MCQ had HTML,CSS, JS, SQL, Coding and aptitutude questions.
In this approach, we will generate all the possible rearrangements of the string and check if the current string in our rearrangement does not have any two adjacent characters that are the same. If we can find any string which satisfies our criteria then we will return that string else we will return “not possible”.
We can implement the above approach by –
Round duration - 60 minutes
Round difficulty - Easy
There were two interviewers. They started by asking me to introduce myself and asked me to explain any one of my projects in my resume and after that, they asked me about the ML algorithms used in my project and about the difficulties faced. What is NaN property in JavaScript? This took around 10 minutes. They also asked 2 coding questions.
It was conducted at 10 AM on CodePair and MS Teams. Interviewers were friendly.
The idea behind this approach is that two or more than two strings are anagrams if and only if their sorted strings are equal. So we will use a HashMap, let’s say “anagramGroup”, where each key is a sorted string, and the key will be mapping to the list of indices from the given list of strings that form a group of anagrams. This means that if we sort the strings at those indices, we will get the ...
The idea is to solve the problem using recursion and break down the problem into different subproblems.
Let’s define NUMBER_OF_WAYS(N) as the total number of ways ‘N’ friends can be paired up or remain single.
The N-th person has two choices - either remain single or pair up with one of the other ‘N - 1’ friends.
If he remains single, then the number of possible pairings are NUMBER_OF_WAYS(N - 1) as there are (N...
Round duration - 60 Minutes
Round difficulty - Medium
There were 2 questions based on data structures, the round started from 1.15 PM .Some SQL questions like What is a Subquery? What are its types? What are UNION, MINUS and INTERSECT commands?
The intuition is to find the breadth of the tree first so that we can beforehand know the maximum horizontal distance and minimum horizontal distance of a node from the root node. We can use the absolute value of minimum horizontal distance as an offset. Now we can use an array/list visited to store the visited nodes where ith element will store the node at (i - offset”) distance horizontally from the...
We can subtract the divisor from the dividend until the dividend is greater than the divisor. The quotient will be equal to the number of total subtractions performed.
Below is the detailed algorithm:
Round duration - 30 Minutes
Round difficulty - Easy
The round was at 7.30 PM and I was asked to introduce myself and we had basic talk on where I live and my interests. I asked about the work culture and about the role at the end.
He showed a puzzle where n-balloons were there and I had to burst maximum balloons using an arrow.
This was basically finding a maximum number of points in a line. I coded that but he wanted an improved solution. He told me to assume the positions of balloons in a matrix where 1 represents if the balloon is present and vice versa. Then I had to find which row or column or diagonal had the maximum number of 1’s. Later he asked me if I had some questions.
Tip 1 : Practice atleast 400 questions of leetcode topics wise.
Tip 2 : Participate in hackathons.
Tip 3 : Have 2 good projects atleast and be very good in project concepts.
Tip 1 : Have good projects in your resume and have clear idea of what you have done in those.
Tip 2 : Mention languages, frameworks, subjects only when you have proper hold on them, don't mention things you don't know properly.
based on 1 review
Rating in categories
Team Lead
2k
salaries
| ₹2 L/yr - ₹9.2 L/yr |
Senior Software Engineer
1.4k
salaries
| ₹10 L/yr - ₹41 L/yr |
Software Engineer
1.4k
salaries
| ₹6 L/yr - ₹23 L/yr |
Sales Executive
963
salaries
| ₹1 L/yr - ₹6.4 L/yr |
Senior Associate
903
salaries
| ₹2.1 L/yr - ₹9 L/yr |
BharatPe
Zerodha
Razorpay
Mobikwik