Paypal Coding Interview Questions

106 DSA problems tagged as asked in Paypal coding interviews and online assessments. Below are the first 100 of 106: 18 easy, 63 medium and 19 hard. Start with the easy ones, then move to medium. Practise free on InternHack and track your progress.

Paypal DSA problems, easiest first

  1. Average Selling Price (Easy)
  2. Best Time to Buy and Sell Stock (Easy)
  3. Climbing Stairs (Easy)
  4. Count the Number of Vowel Strings in Range (Easy)
  5. Count Vowel Substrings of a String (Easy)
  6. Degree of an Array (Easy)
  7. Find Words That Can Be Formed by Characters (Easy)
  8. Fizz Buzz (Easy)
  9. Happy Number (Easy)
  10. Last Stone Weight (Easy)
  11. Lexicographically Smallest Palindrome (Easy)
  12. Maximum Population Year (Easy)
  13. Merge Sorted Array (Easy)
  14. Minimum Absolute Difference (Easy)
  15. Move Zeroes (Easy)
  16. Two Sum (Easy)
  17. Valid Anagram (Easy)
  18. Valid Parentheses (Easy)
  19. 3Sum (Medium)
  20. Asteroid Collision (Medium)
  21. Container With Most Water (Medium)
  22. Count Vowel Strings in Ranges (Medium)
  23. Course Schedule (Medium)
  24. Divide Players Into Teams of Equal Skill (Medium)
  25. Find First and Last Position of Element in Sorted Array (Medium)
  26. Find Peak Element (Medium)
  27. Find the Smallest Divisor Given a Threshold (Medium)
  28. Flatten Deeply Nested Array (Medium)
  29. Group Anagrams (Medium)
  30. House Robber (Medium)
  31. Insert Interval (Medium)
  32. Jump Game (Medium)
  33. Koko Eating Bananas (Medium)
  34. Kth Largest Element in an Array (Medium)
  35. Longest Consecutive Sequence (Medium)
  36. Longest String Chain (Medium)
  37. Longest Substring Of All Vowels in Order (Medium)
  38. Longest Substring Without Repeating Characters (Medium)
  39. Loud and Rich (Medium)
  40. LRU Cache (Medium)
  41. Maximal Square (Medium)
  42. Maximum Number of Events That Can Be Attended (Medium)
  43. Maximum Number of Integers to Choose From a Range I (Medium)
  44. Maximum Number of Integers to Choose From a Range II (Medium)
  45. Maximum Product Subarray (Medium)
  46. Maximum Subarray (Medium)
  47. Maximum Sum Obtained of Any Permutation (Medium)
  48. Meeting Scheduler (Medium)
  49. Merge In Between Linked Lists (Medium)
  50. Merge Intervals (Medium)
  51. Minimum Increment to Make Array Unique (Medium)
  52. Minimum Non-Zero Product of the Array Elements (Medium)
  53. Minimum Number of Swaps to Make the String Balanced (Medium)
  54. Missing Element in Sorted Array (Medium)
  55. Nearest Exit from Entrance in Maze (Medium)
  56. Number of Islands (Medium)
  57. Number of Substrings Containing All Three Characters (Medium)
  58. Pairs of Songs With Total Durations Divisible by 60 (Medium)
  59. Palindromic Substrings (Medium)
  60. Product of Array Except Self (Medium)
  61. Pythagorean Distance Nodes in a Tree (Medium)
  62. Random Pick with Weight (Medium)
  63. Remove All Adjacent Duplicates in String II (Medium)
  64. Rotate Image (Medium)
  65. Rotting Oranges (Medium)
  66. Search a 2D Matrix II (Medium)
  67. Search in Rotated Sorted Array (Medium)
  68. Search Suggestions System (Medium)
  69. Set Matrix Zeroes (Medium)
  70. Smallest Greater Multiple Made of Two Digits (Medium)
  71. Smallest String With Swaps (Medium)
  72. Sort Colors (Medium)
  73. Spiral Matrix (Medium)
  74. Subarray Sum Equals K (Medium)
  75. Subsets (Medium)
  76. Swap Nodes in Pairs (Medium)
  77. Time Needed to Rearrange a Binary String (Medium)
  78. Top K Frequent Words (Medium)
  79. Valid Sudoku (Medium)
  80. Word Search (Medium)
  81. Zigzag Conversion (Medium)
  82. Best Time to Buy and Sell Stock III (Hard)
  83. Binary Tree Maximum Path Sum (Hard)
  84. Count Array Pairs Divisible by K (Hard)
  85. Find Median from Data Stream (Hard)
  86. First Missing Positive (Hard)
  87. LFU Cache (Hard)
  88. Maximum Frequency Score of a Subarray (Hard)
  89. Maximum Profit in Job Scheduling (Hard)
  90. Median of Two Sorted Arrays (Hard)
  91. Minimum Edge Reversals So Every Node Is Reachable (Hard)
  92. Minimum Number of Removals to Make Mountain Array (Hard)
  93. Minimum Replacements to Sort the Array (Hard)
  94. Number of Valid Move Combinations On Chessboard (Hard)
  95. Paint House III (Hard)
  96. Reaching Points (Hard)
  97. Serialize and Deserialize Binary Tree (Hard)
  98. Text Justification (Hard)
  99. Trapping Rain Water (Hard)
  100. Word Search II (Hard)

Prepare for the rest of the Paypal process

Other companies