How often are these problems asked?
Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Paytm interviews.
Very Likely
75-100%
Likely
50-74%
Sometimes
25-49%
Rare
0-24%
Problem database last updated: June 20, 2025
29 problems · 6 Easy, 22 Medium, 1 Hard · Ranked #67 of 458
6 Easy
21% · avg 23%
22 Medium
76% · avg 59%
1 Hard
3% · avg 18%
Based on 29 reported problems, Paytm interviews are easier than average - only 3% Hard compared to 18% across all companies. The majority (76%) of questions are Medium difficulty, which is typical for companies that want to see solid fundamentals without excessive trick questions.
Compared to the industry average, Paytm puts unusual emphasis on two-pointers (34.5% of problems, 2.5x the industry average), monotonic-stack (6.9% of problems, 2.4x the industry average), prefix-sum (6.9% of problems, 2.1x the industry average). If you're short on time, these are the categories to double down on.
The most common topics are array (62.1%), two-pointers (34.5%), string (27.6%), stack (17.2%). Problems below are sorted by frequency, the ones at the top are asked most often.
| Problem | Difficulty | Frequency | Topics | |
|---|---|---|---|---|
Remove All Adjacent Duplicates In String You are given a string s consisting of lowercase English letters. A duplicate removal consists of choosing two adjacent and equal letters and removing them. | Easy | Very Likely | stringstack | Solve |
Longest Nice Subarray You are given an array nums consisting of positive integers. | Medium | Very Likely | arraybit-manipulationsliding-window | Solve |
Find Indices With Index and Value Difference II You are given a 0-indexed integer array nums having length n, an integer indexDifference, and an integer valueDifference. | Medium | Very Likely | arraytwo-pointers | Solve |
Find Indices With Index and Value Difference I You are given a 0-indexed integer array nums having length n, an integer indexDifference, and an integer valueDifference. | Easy | Very Likely | arraytwo-pointers | Solve |
Minimize Maximum of Array You are given a 0-indexed array nums comprising of n non-negative integers. | Medium | Very Likely | arraybinary-searchdynamic-programming | Solve |
Number of Unequal Triplets in Array You are given a 0-indexed array of positive integers nums. Find the number of triplets (i, j, k) that meet the following conditions: | Easy | Very Likely | arrayhash-tablesorting | Solve |
Min Stack Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. | Medium | Very Likely | stackdesign | Solve |
Linked List Cycle II Given the head of a linked list, return the node where the cycle begins. If there is no cycle, return null. | Medium | Very Likely | hash-tablelinked-listtwo-pointers | Solve |
Container With Most Water You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]). | Medium | Likely | arraytwo-pointersgreedy | Solve |
Valid Parentheses Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. | Easy | Likely | stringstack | Solve |
Longest Substring Without Repeating Characters Given a string s, find the length of the longest substring without duplicate characters. | Medium | Likely | hash-tablestringsliding-window | Solve |
Longest Palindromic Substring Given a string s, return the longest palindromic substring in s. | Medium | Likely | two-pointersstringdynamic-programming | Solve |
Two Sum Given an array of integers nums and an integer target, return the indices of the two numbers that add up to target. | Easy | Likely | arrayhash-map | Solve |
Next Permutation A permutation of an array of integers is an arrangement of its members into a sequence or linear order. | Medium | Likely | arraytwo-pointers | Solve |
3Sum Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0. | Medium | Likely | arraytwo-pointerssorting | Solve |
Reverse Words in a String Given an input string s, reverse the order of the words. | Medium | Likely | two-pointersstring | Solve |
Execute Asynchronous Functions in Parallel Given an array of asynchronous functions functions, return a new promise promise. Each function in the array accepts no arguments and returns a promise. All the... | Medium | Likely | Solve | |
Largest Number Given a list of non-negative integers nums, arrange them such that they form the largest number and return it. | Medium | Likely | arraystringgreedy | Solve |
Product of Array Except Self Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i]. | Medium | Likely | arrayprefix-sum | Solve |
Reverse Linked List Given the head of a singly linked list, reverse the list, and return the reversed list. | Easy | Likely | linked-listrecursion | Solve |
Second Highest Salary Table: Employee | Medium | Likely | database | Solve |
Trapping Rain Water Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining. | Hard | Likely | arraytwo-pointersdynamic-programming | Solve |
Search in Rotated Sorted Array There is an integer array nums sorted in ascending order (with distinct values). | Medium | Likely | arraybinary-search | Solve |
Word Search Given an m x n grid of characters board and a string word, return true if word exists in the grid. | Medium | Likely | arraystringbacktracking | Solve |
String Compression Given an array of characters chars, compress it using the following algorithm: | Medium | Likely | two-pointersstring | Solve |
Best Time to Buy and Sell Stock II You are given an integer array prices where prices[i] is the price of a given stock on the ith day. | Medium | Likely | arraydynamic-programminggreedy | Solve |
Longest Consecutive Sequence Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence. | Medium | Likely | arrayhash-tableunion-find | Solve |
Sum of Subarray Minimums Given an array of integers arr, find the sum of min(b), where b ranges over every (contiguous) subarray of arr. Since the answer may be large, return the answer... | Medium | Likely | arraydynamic-programmingstack | Solve |
Find Minimum in Rotated Sorted Array Suppose an array of length n sorted in ascending order is rotated between 1 and n times. For example, the array nums = [0,1,2,4,5,6,7] might become: | Medium | Likely | arraybinary-search | Solve |
Remove All Adjacent Duplicates In String
SolveYou are given a string s consisting of lowercase English letters. A duplicate removal consists of choosing two adjacent and equal letters and removing them.
Longest Nice Subarray
SolveYou are given an array nums consisting of positive integers.
Find Indices With Index and Value Difference II
SolveYou are given a 0-indexed integer array nums having length n, an integer indexDifference, and an integer valueDifference.
Find Indices With Index and Value Difference I
SolveYou are given a 0-indexed integer array nums having length n, an integer indexDifference, and an integer valueDifference.
Minimize Maximum of Array
SolveYou are given a 0-indexed array nums comprising of n non-negative integers.
Number of Unequal Triplets in Array
SolveYou are given a 0-indexed array of positive integers nums. Find the number of triplets (i, j, k) that meet the following conditions:
Min Stack
SolveDesign a stack that supports push, pop, top, and retrieving the minimum element in constant time.
Linked List Cycle II
SolveGiven the head of a linked list, return the node where the cycle begins. If there is no cycle, return null.
Container With Most Water
SolveYou are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]).
Valid Parentheses
SolveGiven a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
Longest Substring Without Repeating Characters
SolveGiven a string s, find the length of the longest substring without duplicate characters.
Longest Palindromic Substring
SolveGiven a string s, return the longest palindromic substring in s.
Two Sum
SolveGiven an array of integers nums and an integer target, return the indices of the two numbers that add up to target.
Next Permutation
SolveA permutation of an array of integers is an arrangement of its members into a sequence or linear order.
3Sum
SolveGiven an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0.
Reverse Words in a String
SolveGiven an input string s, reverse the order of the words.
Execute Asynchronous Functions in Parallel
SolveGiven an array of asynchronous functions functions, return a new promise promise. Each function in the array accepts no arguments and returns a promise. All the...
Largest Number
SolveGiven a list of non-negative integers nums, arrange them such that they form the largest number and return it.
Product of Array Except Self
SolveGiven an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i].
Reverse Linked List
SolveGiven the head of a singly linked list, reverse the list, and return the reversed list.
Trapping Rain Water
SolveGiven n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining.
Search in Rotated Sorted Array
SolveThere is an integer array nums sorted in ascending order (with distinct values).
Word Search
SolveGiven an m x n grid of characters board and a string word, return true if word exists in the grid.
String Compression
SolveGiven an array of characters chars, compress it using the following algorithm:
Best Time to Buy and Sell Stock II
SolveYou are given an integer array prices where prices[i] is the price of a given stock on the ith day.
Longest Consecutive Sequence
SolveGiven an unsorted array of integers nums, return the length of the longest consecutive elements sequence.
Sum of Subarray Minimums
SolveGiven an array of integers arr, find the sum of min(b), where b ranges over every (contiguous) subarray of arr. Since the answer may be large, return the answer...
Find Minimum in Rotated Sorted Array
SolveSuppose an array of length n sorted in ascending order is rotated between 1 and n times. For example, the array nums = [0,1,2,4,5,6,7] might become:
Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Paytm interviews.
Very Likely
75-100%
Likely
50-74%
Sometimes
25-49%
Rare
0-24%
Paytm interviews focus heavily on array, two-pointers, string problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.
Beyond solving problems, practice explaining your approach. Paytm interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.
Looking for more companies? Browse all 458 companies in our directory, or sharpen your fundamentals with our free data structure visualizers and AI-powered DSA tutor.
Paytm has been reported to ask 29 distinct coding problems. The most common topics are array, two-pointers, string. 6 are Easy difficulty, 22 are Medium, and 1 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.
Based on 29 reported problems, Paytm interviews are easier than average - only 3% Hard compared to 18% across all companies. 76% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.
Start with the highest-frequency problems listed on this page. Focus on the core topics: array, two-pointers, string. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.
Simulate a real Paytm coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.
Simulate a Paytm interview with AIarrow_forward