Interview Intel · PayPal

PayPal coding interview
questions, leaked.

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

Founder's read

PayPal's online assessment hits you with 109 problems across a brutal mix: 70 mediums, 19 hards, and only 20 easies to warm up on. Arrays dominate at 75 problems, but hash tables (30), sorting (26), and strings (24) are your second line. You'll see Rotting Oranges, LRU Cache, Number of Islands, and Word Search in the wild. Most candidates drill the obvious patterns and choke on medium-hard hybrids. StealthCoder runs invisibly during the live OA as a safety net: if you blank on a hash-table problem mid-assessment, it surfaces a working solution in seconds, undetectable to the proctor.

Tracked problems
109
Easy
20/ 18%
Medium
70/ 64%
Hard
19/ 17%

Top problems at PayPal

leaked_problems.csv50 rows
#ProblemDiffFrequency
01Rotting OrangesMEDIUM
0.0
02Zigzag ConversionMEDIUM
100.0
03LRU CacheMEDIUM
79.2
04Minimum Replacements to Sort the ArrayHARD
77.5
05Count Vowel Strings in RangesMEDIUM
77.5
06Count the Number of Vowel Strings in RangeEASY
77.5
07Word SearchMEDIUM
75.5
08Number of IslandsMEDIUM
75.5
09Maximum Number of Integers to Choose From a Range IMEDIUM
75.5
10Maximum Frequency Score of a SubarrayHARD
75.5
11Number of Valid Move Combinations On ChessboardHARD
75.5
12Time Needed to Rearrange a Binary StringMEDIUM
75.5
13Meeting SchedulerMEDIUM
75.5
14Group AnagramsMEDIUM
73.4
15Best Time to Buy and Sell StockEASY
73.4
16Maximum Number of Integers to Choose From a Range IIMEDIUM
73.4
17Paint House IIIHARD
73.4
18Minimum Non-Zero Product of the Array ElementsMEDIUM
73.4
19Smallest Greater Multiple Made of Two DigitsMEDIUM
73.4
20Count Array Pairs Divisible by KHARD
73.4
21Maximum Sum Obtained of Any PermutationMEDIUM
73.4
22Longest Increasing SubsequenceMEDIUM
71.0
23Maximal SquareMEDIUM
71.0
24Two SumEASY
71.0
25Coin ChangeMEDIUM
68.4
26Product of Array Except SelfMEDIUM
68.4
27Pairs of Songs With Total Durations Divisible by 60MEDIUM
65.5
28Longest Substring Without Repeating CharactersMEDIUM
62.0
29Merge Sorted ArrayEASY
62.0
30Minimum Absolute DifferenceEASY
62.0
31Merge IntervalsMEDIUM
62.0
32Subarray Sum Equals KMEDIUM
62.0
33Maximum Number of Events That Can Be AttendedMEDIUM
58.0
34Loud and RichMEDIUM
58.0
35Reorganize StringMEDIUM
58.0
36Find the Smallest Divisor Given a ThresholdMEDIUM
58.0
37Last Stone WeightEASY
53.0
38Valid AnagramEASY
53.0
39Meeting Rooms IIIHARD
53.0
40Top K Frequent ElementsMEDIUM
53.0
41Sort ColorsMEDIUM
53.0
42Trapping Rain WaterHARD
53.0
43Count Vowel Substrings of a StringEASY
53.0
44House RobberMEDIUM
53.0
45Random Pick with WeightMEDIUM
53.0
46Valid ParenthesesEASY
53.0
473Sum SmallerMEDIUM
46.7
48Jump GameMEDIUM
46.7
49LFU CacheHARD
46.7
50Longest Consecutive SequenceMEDIUM
46.7

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 PayPal OA. The proctor cannot see it. Screen share cannot detect it. Built by an Amazon engineer who realized the OA tests how well you memorized 200 problems, not how well you code.

Get StealthCoder
Topic distribution
What this means

The distribution is punishing because arrays and hash tables aren't isolated. You'll get array problems that need prefix sums, matrix traversal that demands DFS, and string manipulation tangled with backtracking. Count Vowel Strings in Ranges and Maximum Frequency Score of a Subarray are the hidden killers: they look simple until you realize you need multiple pattern layers. Start with array fundamentals and two-pointers because they're structural; then anchor hash tables (LRU Cache is a classic design trap). Binary search and greedy appear in 17 and 15 problems respectively, so they're tertiary but non-negotiable. Dynamic programming rounds out 16 problems, mostly hiding in string and array hybrids. Don't sleep on the hard problems: they're 17 percent of the total and often the deciding factor. If you hit a wall on a greedy or backtracking problem during the OA, StealthCoder is your hedge.

Companies with similar patterns

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

The honest play

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

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. Built by an Amazon engineer who realized the OA tests how well you memorized 200 problems, not how well you code. Works on HackerRank, CodeSignal, CoderPad, and Karat.

PayPal interview FAQ

How many array problems should I solve before the PayPal OA?+

Arrays are 69 percent of PayPal's test set (75 of 109 problems). You need 20 to 25 solid reps across basic manipulation, two-pointers, and matrix traversal. Don't just count reps; hit each sub-pattern: rotation, prefix logic, BFS/DFS on matrices. Rotting Oranges and Number of Islands are the benchmarks.

Is hash table experience enough for PayPal's medium problems?+

No. Hash tables appear in 30 problems, but most mediums combine them with other patterns. Group Anagrams pairs arrays with sorting. LRU Cache requires linked lists and design thinking. You need hash tables as a building block, not a standalone skill. Expect hybrid questions.

What topic should I study first for PayPal?+

Arrays, then hash tables. Arrays are 3x more common (75 vs. 30). Build muscle on Rotting Oranges and Number of Islands first, which also teach you matrix and DFS patterns. Then study hash tables in context: LRU Cache and Group Anagrams. This order mirrors how PayPal actually tests.

Are the hard problems worth studying before the OA?+

Yes. 17 percent of PayPal's set is hard (19 problems), and they often decide pass or fail. Minimum Replacements to Sort the Array and Maximum Frequency Score of a Subarray combine multiple patterns. Study 5 to 8 hards covering greedy, backtracking, and math. Skip the last-minute cram; this is where preparation gaps show.

How do I prepare for string and matrix problems together?+

Strings and matrices appear in 24 and 9 problems, but they often intersect (Word Search, Zigzag Conversion). Solve string problems with pattern matching first (Zigzag, Group Anagrams), then move to matrix traversal with DFS (Word Search). This mirrors PayPal's actual difficulty curve.

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