The Wayback Machine - https://web.archive.org/web/20240906210606/https://www.geeksforgeeks.org/paytm-interview-experience-set-9/
Open In App

Paytm Interview Experience | Set 9

Last Updated : 16 Aug, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow
Solve Problem
Basic
55.81%
7.5K
  • The test was held at 7 in the morning and then the shortlist was announced within an hour. The test included three questions:
    • Given an array find a subsequence with maximum sum but all the elements must be non-adjacent
    • Given an array consisting of whole numbers, push all the zeroes at the end but the order of positive numbers must be same
    • Given an array consisting of only integers, write a program to put all the negative numbers on even indices and the non-negative numbers on the odd indices and if +ve numbers are more in number place them at the end after all -ve numbers have been placed and same goes for the +ve numbers too.
  • Solving two may take you to the interview (I guess), the first round had two questions
    • Given an array, find all the subarrays (contiguous) of even length which has the equal left sum and a right sum. Ex:- [2,4,6,6,4,2,10], for
      this the answer is 4, i.e. [2,4,6,6,4,2],[4,6,6,4,2,10],[4,6,6,4],[6,6]. Asked me to write code, firstly I tried doing it by brute then it came to be O(n3) solution and was unable to efficiency.

    • Then he asked me what’s a Trie Node, deleting and adding strings in trienode and I explained it to him
    • Asked about my project and that’s it I cleared first round

    I was the only one sent to the 2nd round

  • Firstly, he asked me to briefly introduce about myself and then asked why am I trying an IT company when I’m a civil engineering student and
    then I explained to him about why and all things… There were three questions:

    • Given a nxm matrix filled with all 0s and 1s, find the biggest subsquare which has all 1s in it. Done it using Dynamic Programming
    • Reverse a linked list in a group. Ex: 1→2→3→4→5→6→NULL with k=3 then the output must be 3→2→1→6→5→4→NULL.

The tough question for me and the reason I couldn’t get selected (I think that’s the reason) Given an array with numbers in it, you will have n number of queries, each query will have 3 inputs x, y, val where x and y represents the start and end indices of a subarray whose all elements must be increased by a value ‘val’ and then there would be n queries again where each query will have x and y where each query must be returned with the sum of the subarray [x index to y index] of the updated array. At first glance, everyone would say that just add every
time a query has been sent but then there would be no point of asking. So, I said I would use union and intersection of the indices and somehow get to the answer and so he asked how to find union and intersection and that’s where I toppled and couldn’t answer and that’s it they said ok and I left.

After an hour, the results came and they didn’t select anyone from IT profile



Previous Article
Next Article

Similar Reads

Paytm Interview Experience | Set 21 (5+ Experience)
Round 1: 2 questions on mettle - online judge 1. longest palindrome of a given string. 2. There are n candies and K student. candies are distributed in a order that 1st student get 1 candy, 2nd get 2, 3rd get 3 and so on till nth student. now, 1st student gets k+1 candy, 2nd get k+2, 3rd gets k+3 and so on. if there are not enough candies to be giv
2 min read
Paytm interview experience | Set 26 (Experienced)
Round 1: Excel sheet column number representation Max profit in buy sell stock. Acid property of databases Hashmap implementation Swap linkedlist in pair of k Clustered indexes Isolation levels in SQL server Diff between hashing and encryption Round 2: Design notification system Sort array of 0s and 1s Make the class immutable Round 3: General disc
1 min read
Paytm Interview Experience | Set 19 (On Campus - SDE)
Round 1: 3 Coding Questions. Different question for different persons. 1 question on string manipulation, 1 on binary trees and other on arrays. Not very lengthy, but some questions were tricky. Round 2: Discussions on project and internships. I had projects related to Deep learning and machine learning and most of the discussion was centered on th
2 min read
Paytm Interview Experience | Set 28 (For Software Developer)
Round 1: The first round was a coding round with 2 questions on mettl: Write a program to find sum of first largest k elements from a given array of integers.GeeksforGeeks Link  You have to make a necklace with pearls. Minimum number of pearls that can be used is 1 and maximum is n. Each pearl has a magnificence coefficient and the necklace should
2 min read
PayTm Interview Experience | Set 23 (For 2 Years Experienced)
Round 1: First round was taken on mettl, online judge. There was two questions and that required to be done in 1hr 1. A paragraph which contained some dates in format DD-MM-YYYY, find number of distinct years in the paragraph. For e.g Some random words with date 12-01-1990 and some more words with date 12-12-2017 and again some random words with sa
2 min read
Paytm Interview Experience | Set 30
Round 1: Online Coding Round First round is an online programming round with 2 questions.Given an array of elements and change the array in such a way that all the elements on the array are distinct. if you are replacing a value, then the replacing value should be great than the previous value and after modification sum of the elements should be as
2 min read
Paytm Interview Experience | Set 20 (On-Campus)
Technical Round There was three coding questions and exam was held on cocubes. Remove BST keys outside the given range Count numbers on fingers Given an array of size n, find the min of (max of k number - min of k number) where k <n and k is size of subset randomly choose from array. Round 1:(face to face interview) Trapping Rain Water \ Search
1 min read
Paytm Interview Experience | Set 17 (On-Campus)
Online Coding Round Time : 70 min Question : 3 Coding Question 1st Question : Finger counting game 2nd Question : Count number of triplets with product equal to given number 3rd Question : Wildcard Pattern Matching Around 23 students were selected from the coding round and were called for further interview rounds. Round 1(Face-To-Face) The intervie
3 min read
Paytm Interview Experience | Set 18 (For 2 Years Experienced)
Hi all, below are the questions asked in paytm interview for 2yr experienced guy in java technology. I could remember these much only, although there were more questions. Round 1: Explained previous projects. Interfaces vs abstract class interface i1 : void fun() interface i2 : int fun() interface i3 : Object fun(int x) class implementing all these
3 min read
Paytm Interview Experience | Set 4 (Walk-in Drive)
I got a chance to participate in walk-in drive at Paytm Headquarters. Went through the following process. Written test: It contained 20 objective questions having a mix of C, networking and Database questions and 2 subjective questions. Subjective questions: Stock buy sell maximum profit and Find sub string in a string Tech round conducted by SE: Q
2 min read
Paytm Interview Experience | Set 5 (Recruitment Drive)
I attended a Paytm recruitment drive. The requirement was for both Front-end and Backend Developers. I applied for Backend. First there was a written round. The paper consists of 4 Sections. C programming and Data structure objective questions. Aptitude Java / Node JS Subjective programming Question Subjective questions were Print all interleavings
1 min read
Paytm Interview Experience | Set 6 (Recruitment Drive)
I would like to share recent recruitment drive I attended from Paytm CS + Programming + Coding - Screening round 20 MCQ realted to C, Recursion, program output, SQL tables 3 coding questions Find the number of islands Recursively remove all adjacent duplicates Calculate the angle between hour hand and minute hand F2F first round (VP engineering) Ge
2 min read
Paytm Interview Experience | Set 7 (Written Test Hyderabad)
Written Test: Two Sections : 1. CS and Fundamentals Easy fundamental questions and program output from Recursion / OS / Linux, Concurrency threading. 2. Programs Find the number of islands Recursively remove all adjacent duplicates Calculate the angle between hour hand and minute hand All Practice Problems for Paytm ! Related Practice ProblemsFind
1 min read
Paytm Interview Experience | Set 8 (Hiring Drive for Backend Engineer)
Paytm Hiring Drive for Backend Engineer. The selection process was completed on the same day. Round 1 ( Written ): It was a technical written round with 20 questions out of which 2 were coding questions. Rest 18 was objective type mainly C, SQL, and Algo. Write code to create a mirror image of a tree. Given an array of arrival and departure times o
2 min read
Paytm Interview Experience | Set 10 (For Experienced)
It was a walk-in for experienced candidates actually. Round 1: Machine Coding Round (60 min) Q1. Infix to Postfix conversion e.g. A+(B-C)*D becomes ABC-D*+ Q2. Given an array of integers find the minimum distance between a pair of numbers Q3. Find the frequency of each character in a given string Round 2: First F2F Technical Interview (60 min) Gene
2 min read
Paytm Interview Experience | Set 11 (For 2 Years Experienced)
Round 1: Brief intro Discussion about Projects and work ex. Why are you using aerospike? Given a matrix sorted only row-wise, search a number in it. (Complexity O(log(m+n))). Round 2: Brief intro Discussion about project Why are you using aerospike? Design a hashmap. Relationship between equals() and hashcode(). Find a loop in linked list Given a s
2 min read
Paytm Interview Experience | Set 12 (For 1.5 Years Experienced)
I want to share my interview experience with Paytm with all of you. Round-1 [1.5 hr] Brief introduction Discussion about project why are you using Fluentd(EFK) in place of Logstash(ELK) Question on Elastic Search [Based on my project] Given a binary tree, write a function to print its top and bottom view. Round-2 [1 hr] Brief Introduction Given an
1 min read
Paytm Interview Experience | Set 13 (For Experienced)
1st Round : Machine Coding Round It was machine coding round having two coding questions. Based on tree. (Solved using Brute force, didn't pass all test case.) Array and HashMap related problem. Solved in O(n) passed all test case. 2nd Round: Tech Interview Reverse linked list and some basic algorithms questions. Write a program to convert decimal
2 min read
Paytm Interview Experience | Set 14 (For Senior android Developer)
Senior android Developer Coding Round: Spirally traversing a matrix Longest Increasing Subsequence First Round: find "longest line" of 1's in array. Hoizontal and Vertical. Array is made only of 0's and 1's, and looks for example like this: 4 4 0 1 1 1 0 1 0 1 0 1 1 0 1 0 1 0 2D Array is made only of 0's and 1's, you have to find number of island.
2 min read
Paytm Interview Experience | Set 15
Round I Say millions of players are playing a game online and their scores keep changing. Every player is represented by ID and SCORE. How to implement the following queries (i) a new player can be added, input will be id and score (ii) An existing player's score can be updated as the game is being played online in real time, input will be id and s
2 min read
Paytm Interview Experience | Set 16
I was contacted by the HR on LinkedIn about the opening of Full Stack Developer at PayTM Noida. 1st Round (Duration - 2 hours) Tell me about yourself. Discussions on the projects in my current organization. What were my roles and responsibilities? In depth discussion on the project architecture, database design and optimization of data in database.
2 min read
Paytm Interview Experience | Set 22 (For Java Backend Developer)
Round 1: Online coding assessment. Two coding problems were given There is one Binary Search Tree whose some nodes have been swapped.In input you will be given number of nodes,In order and post order traversal of tree.Output difference between sums of odd level nodes and even level nodes. Apple Trees are planted in grid design such that no. of appl
1 min read
Paytm interview experience | Set 24 (1.5 years experienced)
I was interviewed at Paytm office, Noida for Backend Developer role in March 2018. Round 1: Discussion on current work and projects mentioned in the resume Given an array of n-2 elements. The range of elements is n and 2 elements are missing. Find them and write a code for the same Round 2: What are process and thread. Difference between the two. P
1 min read
Paytm Interview Experience | Set 25
I was interviewed by Paytm  for a Software Engineer profile. Round 1: "Coding Round"  The coding test was taken on Mettl. Two questions, 1 Hr time. An adhoc problem. Given an array of marks for 'n' questions. Find the minimum total marks.                       Constraint: two questions cannot have same mark. A DP problem. The question was put into
2 min read
Paytm Java Interview Experience( 2-4 year Experience during COVID19 )
How I came to know about the opening ? So, Paytm recruiters mention a post on linked in and my friend tag me in the comments of that post. And after that, I send a message to the recruiter on linked in that I am interested in this job profile and send my updated resume. And after reviewing my resume she set up my interview on the next day. Round1 I
2 min read
Paytm Interview Experience for SDE-1 | 2 Year of Experience
Round 1: Given a string of 1's and 0's Score is calculated as {1's in left part + 0's in right part}Compute the largest Score. Desired Solution complexity: Linear Given an N, Generate all String of length N consisting of 0's and 1'sSuch that no consecutive 1's occur in resultant String. How does GC work in Java? Which DS would you use to create you
1 min read
Paytm Interview Experience for SDE-1 | 1.2 Years of Experience
I was contacted by an Interviewer through Instahyre. Round 1(Online Assessment): There were total 34 Questions in the assessment- 1 coding question(restricted to use Java language only)It was a medium level question10 MCQs based on DS & Algos10 MCQs based on Java language and concepts13 MCQs based on SQL Round 2(Technical Interview Round): Afte
2 min read
Paytm Mall Interview | Set 27 (Experienced)
This experience is for 5-7 years experienced and for Gurgaon location. Got the call from Paytm HR and scheduled the interview in Saturday. Reached the location on scheduled time. The interview process included three rounds (all technical). Round 1: Technical and Algorithm Round (1 Hr) Generic introduction. Ques 1. Sort numbers in an array and find
1 min read
Paytm Interview Experience (Noida Office)
I was called at Noida office for a face to face interview. Round 1: Face to Face interview This round started with basic tell me about yourself question then the interviewer asked some questions related to my projects and my past experience in the company. Then he gave me a puzzle which is To generate random numbers between 1-12 with equal probabil
1 min read
Paytm Interview Experience (Experienced)
Round 1: Online Coding round A document contains dates in dd-MM-YYYY formats from the beginning of time i.e 00-00-0000 along with other texts. You have to find the number of distinct years. An array is special if it contains special elements. A special element is an element which can be represented by the sum of two numbers where one number is reve
2 min read