Paypal Coding Interview Questions
67 coding problems are tagged as asked at Paypal in interviews and online assessments reported by candidates. By difficulty they split into 14 basic, 46 intermediate and 7 advanced. The topics they most often combine with are Array, String, Hash Table, Sorting.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Paypal tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Two Sum (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Maximum Subarray (Intermediate)
- Valid Parentheses (Basic)
- Longest Substring Without Repeats (Intermediate)
- Product of Array Except Self (Intermediate)
- Move Zeroes (Basic)
- Climbing Stairs (Basic)
- House Robber (Intermediate)
- Coin Change (Intermediate)
- Longest Increasing Subsequence (Advanced)
- First Unique Character (Basic)
- Kth Largest Element (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Trapping Rain Water (Advanced)
- Longest Palindromic Substring (Intermediate)
- Valid Anagram (Basic)
- Happy Number (Intermediate)
- Sort Colors (Basic)
- Search in a Rotated Sorted Array (Advanced)
- Merge Intervals (Intermediate)
- Insert an Interval (Intermediate)
- Last Stone Weight (Intermediate)
- Zigzag Conversion (Intermediate)
- Count Palindromic Substrings (Intermediate)
- Maximum Events Attended (Intermediate)
- Minimum Edge Reversals Per Node (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Top K Frequent Values (Intermediate)
- Course Schedule Feasible (Intermediate)
- LRU Cache Operations (Basic)
- LFU Cache Operations (Intermediate)
- Text Justification (Intermediate)
- Swap Nodes in Pairs (Intermediate)
- Binary Tree Maximum Path Sum (Advanced)
- Merge In Between Linked Lists (Intermediate)
- Number of Islands (Basic)
- Rotting Oranges (Intermediate)
- Smallest String With Swaps (Intermediate)
- Loud and Rich (Intermediate)
- Nearest Exit From Maze Entrance (Intermediate)
- Maximal Square (Intermediate)
- Minimum Removals to Make Mountain Array (Advanced)
- Longest String Chain (Intermediate)
- Find First Occurrence (Basic)
- Word Search (Intermediate)
- Asteroid Collision (Intermediate)
- Valid Sudoku (Intermediate)
- Rotate Image (Intermediate)
- Degree of an Array (Basic)
- 3Sum Triplets (Intermediate)
- Find First and Last Position (Intermediate)
- Search a 2D Matrix II (Intermediate)
- Smallest Divisor Given a Threshold (Intermediate)
- Median of Two Sorted Arrays (Advanced)
- Combination Sum (Intermediate)
- Find Words Formed by Characters (Basic)
- Paint House III (Advanced)
- Missing Element in Sorted Array (Intermediate)
- Remove All Adjacent Duplicates in String II (Intermediate)
- Minimum Increment to Make Array Unique (Intermediate)
- Minimum Swaps to Make the String Balanced (Intermediate)
- Fizz Buzz (Basic)
- Running Median of Stream (Intermediate)
Related
- Paypal basic problems
- Paypal intermediate problems
- Paypal Array problems
- Paypal String problems
- Paypal Hash Table problems
- Paypal Sorting problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Paypal problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Paypal interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.