Interview Intel · PhonePe

PhonePe coding interview
questions, leaked.

93 problems reported across recent PhonePe interviews. Top patterns: array, dynamic programming, hash table. The list below is what most reported candidates actually saw, plus the honest play if you can't grind all of it.

Founder's read

PhonePe's coding assessment hits hard and fast. You're looking at 93 problems across their hiring funnel, but here's the catch: 33 are hard and only 2 are easy. Arrays dominate at 65 problems, followed by dynamic programming at 28. That's not a coincidence. They're testing if you can spot patterns under pressure and code them without breaking. If you blank on an array-DP hybrid during the live assessment, StealthCoder runs invisibly and surfaces a working solution in seconds. But first, you need to know what actually shows up.

Tracked problems
93
Easy
2/ 2%
Medium
58/ 62%
Hard
33/ 35%

Top problems at PhonePe

leaked_problems.csv50 rows
#ProblemDiffFrequency
01Frog JumpHARD
100.0
02Burst BalloonsHARD
94.2
03Decoded String at IndexMEDIUM
90.7
04Smallest Range Covering Elements from K ListsHARD
86.6
05Simple Bank SystemMEDIUM
86.6
06Maximum Tastiness of Candy BasketMEDIUM
86.6
07Count the Number of Arrays with K Matching Adjacent ElementsHARD
84.3
08Maximum Amount of Money Robot Can EarnMEDIUM
84.3
09Frequencies of Shortest SupersequencesHARD
84.3
10Find Beautiful Indices in the Given Array IIHARD
84.3
11Viewers Turned StreamersHARD
84.3
12Check if Point Is ReachableHARD
84.3
13Smallest String With SwapsMEDIUM
84.3
14Remove K DigitsMEDIUM
78.8
15Most Stones Removed with Same Row or ColumnMEDIUM
75.5
16Bus RoutesHARD
75.5
17Longest Palindromic SubstringMEDIUM
71.8
18Trapping Rain WaterHARD
71.8
19Kth Smallest Element in a Sorted MatrixMEDIUM
67.3
20Frequency of the Most Frequent ElementMEDIUM
67.3
21House Robber IIMEDIUM
67.3
22Split Array Largest SumHARD
67.3
23CandyHARD
67.3
24House RobberMEDIUM
67.3
25Queue Reconstruction by HeightMEDIUM
67.3
26Maximum Profit in Job SchedulingHARD
67.3
27Best Time to Buy and Sell StockEASY
67.3
28Make Lexicographically Smallest Array by Swapping ElementsMEDIUM
61.9
29IPOHARD
61.9
30Koko Eating BananasMEDIUM
61.9
31Amount of Time for Binary Tree to Be InfectedMEDIUM
61.9
32Reachable Nodes In Subdivided GraphHARD
61.9
33Jump Game IIMEDIUM
61.9
34Sum of Distances in TreeHARD
61.9
35Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMEDIUM
61.9
36Split Array into Consecutive SubsequencesMEDIUM
54.9
37Matchsticks to SquareMEDIUM
54.9
38Sliding Window MaximumHARD
54.9
39Rotting OrangesMEDIUM
54.9
40Word LadderHARD
54.9
41Minimum Cost to Cut a StickHARD
54.9
42Best Time to Buy and Sell Stock IIIHARD
54.9
43House Robber IIIMEDIUM
54.9
44Sort ColorsMEDIUM
54.9
45Distribute Coins in Binary TreeMEDIUM
54.9
46Maximal SquareMEDIUM
54.9
47Swim in Rising WaterHARD
54.9
48Accounts MergeMEDIUM
54.9
49Merge IntervalsMEDIUM
54.9
50Find Duplicate SubtreesMEDIUM
45.1

Frequencies derived from public community-tagged interview reports. Click a row to view on LeetCode.

The hedge

You have a week, maybe less. You can't out-grind the list above. StealthCoder runs invisibly during the actual PhonePe OA. The proctor cannot see it. Screen share cannot detect it. Made for the engineer who has done the work but might still blank with a webcam pointed at him.

Get StealthCoder
Topic distribution
What this means

PhonePe leans heavily into array problems (70 percent of their test set) combined with dynamic programming and hash tables. This isn't about memorizing solutions. It's about recognizing when to use a sliding window, when to build a DP table, when to hash for O(1) lookups. Problems like Frog Jump, Burst Balloons, and Smallest Range Covering Elements from K Lists show they care about optimization and trade-offs. Sorting and greedy round out the middle tier. Depth-first search and breadth-first search appear in 15 problems each, so graph traversal matters but it's secondary. If you've drilled arrays and DP, you're ahead. If you hit a pattern you haven't seen before mid-assessment, StealthCoder is your invisible net. The median problem is hard and multi-topic, so expect to combine skills on the clock.

Companies with similar patterns

If you prepped for PhonePe, these companies recycle ~60% of the same topics.

The honest play

You've seen the list. Now make sure you pass PhonePe.

Memorizing every problem above in a week is a fantasy. StealthCoder is the hedge: an AI overlay that's invisible during screen share. It reads the problem on screen and surfaces a working solution in under 2 seconds. Made for the engineer who has done the work but might still blank with a webcam pointed at him. Works on HackerRank, CodeSignal, CoderPad, and Karat.

PhonePe interview FAQ

How many array problems should I solve before the PhonePe assessment?+

At least 20 to 25. Arrays represent 70 percent of their problem set. Focus on sliding window, two-pointer, and prefix-sum patterns. Skip breadth-first search drills if time is tight. Array fundamentals will carry you further here.

Is dynamic programming essential for PhonePe, or can I skip it?+

Don't skip it. DP appears in 28 problems and often pairs with arrays (Frog Jump, Burst Balloons, Maximum Amount of Money Robot Can Earn). If you're weak on DP, you'll hit a wall mid-assessment. Drill classic DP states and memoization first.

What's the balance between easy, medium, and hard problems at PhonePe?+

Only 2 easy problems in their entire set. 58 medium, 33 hard. You won't get warm-up gimmes. Expect a medium-to-hard jump from problem one. Practice under pressure and don't panic when the first problem feels non-trivial.

Should I study union-find and heap problems, or focus elsewhere?+

Union-find and heaps each appear in about 9 problems. They're secondary. Nail arrays, DP, hash tables, and sorting first. If you have spare prep time, union-find shows up in graph and connected-component problems, so it's worth a weekend.

How much time should I spend on string and graph problems?+

String has 17 problems, graph has 10. String is mid-priority. Graph is lower. Don't spend equal time. Prioritize array and DP drills. Graph problems at PhonePe often use DFS or union-find as a secondary skill, not the main event.

Problem frequencies sourced from public community-maintained interview-report repos. Problems, ratings, and trademarks are property of LeetCode and PhonePe. StealthCoder is not affiliated with PhonePe.