Phonepe Coding Interview Questions

102 DSA problems tagged as asked in Phonepe coding interviews and online assessments. Below are the first 100 of 102: 3 easy, 61 medium and 36 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Phonepe DSA problems, easiest first

  1. Best Time to Buy and Sell Stock (Easy)
  2. Two Sum (Easy)
  3. Valid Parentheses (Easy)
  4. 01 Matrix (Medium)
  5. 3Sum (Medium)
  6. Accounts Merge (Medium)
  7. Asteroid Collision (Medium)
  8. Car Fleet (Medium)
  9. Coin Change (Medium)
  10. Complete Binary Tree Inserter (Medium)
  11. Continuous Subarray Sum (Medium)
  12. Copy List with Random Pointer (Medium)
  13. Decoded String at Index (Medium)
  14. Determine if Two Strings Are Close (Medium)
  15. Distribute Candies Among Children II (Medium)
  16. Evaluate Division (Medium)
  17. Find All Possible Recipes from Given Supplies (Medium)
  18. Find Duplicate Subtrees (Medium)
  19. Find the Celebrity (Medium)
  20. Frequency of the Most Frequent Element (Medium)
  21. Furthest Building You Can Reach (Medium)
  22. Gas Station (Medium)
  23. Generate Parentheses (Medium)
  24. Group Anagrams (Medium)
  25. Heaters (Medium)
  26. House Robber (Medium)
  27. House Robber III (Medium)
  28. Insert Interval (Medium)
  29. Jump Game (Medium)
  30. Jump Game II (Medium)
  31. Kth Smallest Element in a Sorted Matrix (Medium)
  32. Letter Combinations of a Phone Number (Medium)
  33. Longest Consecutive Sequence (Medium)
  34. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit (Medium)
  35. Longest Palindromic Substring (Medium)
  36. Loud and Rich (Medium)
  37. LRU Cache (Medium)
  38. Make Lexicographically Smallest Array by Swapping Elements (Medium)
  39. Make Sum Divisible by P (Medium)
  40. Matchsticks to Square (Medium)
  41. Maximal Square (Medium)
  42. Maximum Amount of Money Robot Can Earn (Medium)
  43. Maximum Subarray (Medium)
  44. Maximum Tastiness of Candy Basket (Medium)
  45. Maximum Total Damage With Spell Casting (Medium)
  46. Merge Intervals (Medium)
  47. Minimum Cost Tree From Leaf Values (Medium)
  48. Minimum Number of Days to Make m Bouquets (Medium)
  49. Minimum Time for K Connected Components (Medium)
  50. Most Stones Removed with Same Row or Column (Medium)
  51. Number of Islands (Medium)
  52. Number of Operations to Make Network Connected (Medium)
  53. Queue Reconstruction by Height (Medium)
  54. Remove K Digits (Medium)
  55. Rotting Oranges (Medium)
  56. Simple Bank System (Medium)
  57. Smallest String With Swaps (Medium)
  58. Sort Colors (Medium)
  59. Spiral Matrix (Medium)
  60. Split Array into Consecutive Subsequences (Medium)
  61. Sum of Subarray Ranges (Medium)
  62. Task Scheduler (Medium)
  63. Uncrossed Lines (Medium)
  64. Ways to Make a Fair Array (Medium)
  65. Apply Operations to Maximize Frequency Score (Hard)
  66. Bricks Falling When Hit (Hard)
  67. Burst Balloons (Hard)
  68. Bus Routes (Hard)
  69. Candy (Hard)
  70. Check if Point Is Reachable (Hard)
  71. Cherry Pickup (Hard)
  72. Collect Coins in a Tree (Hard)
  73. Count Palindromic Subsequences (Hard)
  74. Count the Number of Arrays with K Matching Adjacent Elements (Hard)
  75. Decode Ways II (Hard)
  76. Find Beautiful Indices in the Given Array II (Hard)
  77. First Missing Positive (Hard)
  78. Freedom Trail (Hard)
  79. Frequencies of Shortest Supersequences (Hard)
  80. IPO (Hard)
  81. Longest Cycle in a Graph (Hard)
  82. Longest Increasing Path in a Matrix (Hard)
  83. Maximum Number of Events That Can Be Attended II (Hard)
  84. Maximum Performance of a Team (Hard)
  85. Maximum Profit in Job Scheduling (Hard)
  86. Minimum Edge Reversals So Every Node Is Reachable (Hard)
  87. Number of Flowers in Full Bloom (Hard)
  88. Reachable Nodes In Subdivided Graph (Hard)
  89. Regular Expression Matching (Hard)
  90. Remove Boxes (Hard)
  91. Shortest Cycle in a Graph (Hard)
  92. Shortest Path to Get All Keys (Hard)
  93. Sliding Window Maximum (Hard)
  94. Smallest Range Covering Elements from K Lists (Hard)
  95. Split Array Largest Sum (Hard)
  96. Sum of Distances in Tree (Hard)
  97. Trapping Rain Water (Hard)
  98. Viewers Turned Streamers (Hard)
  99. Word Ladder (Hard)
  100. Zuma Game (Hard)

Prepare for the rest of the Phonepe process

Other companies