Interview Intel · eBay

eBay coding interview
questions, leaked.

78 problems reported across recent eBay interviews. Top patterns: array, string, 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

eBay's assessment hits you with 78 problems across a brutal 63% medium/hard split. Arrays dominate the list (42 problems), followed by strings (24) and hash tables (20). You're looking at a high bar: LRU Cache, Partition Equal Subset Sum, and Minimum Window Subsequence are the kinds of problems that separate offers from rejections. If you blank on a sliding-window or DP pattern mid-OA, StealthCoder runs invisibly during the assessment and surfaces a working solution in seconds. That's your hedge for the gaps in your prep.

Tracked problems
78
Easy
15/ 19%
Medium
49/ 63%
Hard
14/ 18%

Top problems at eBay

leaked_problems.csv50 rows
#ProblemDiffFrequency
01Partition Equal Subset SumMEDIUM
100.0
02LRU CacheMEDIUM
97.7
03Binary GapEASY
95.1
04Alternating Digit SumEASY
95.1
05Subtree of Another TreeEASY
95.1
06Design SkiplistHARD
95.1
07Minimum Window SubsequenceHARD
95.1
08Remove One Element to Make the Array Strictly IncreasingEASY
95.1
09Minimize Maximum Pair Sum in ArrayMEDIUM
95.1
10Number of IslandsMEDIUM
89.2
11Word LadderHARD
81.5
12Open the LockMEDIUM
76.7
13Spiral MatrixMEDIUM
76.7
14Group AnagramsMEDIUM
76.7
15Move ZeroesEASY
76.7
16Set Matrix ZeroesMEDIUM
70.8
17Reconstruct ItineraryHARD
70.8
18Meeting Rooms IIMEDIUM
70.8
19Word Search IIHARD
70.8
20Valid ParenthesesEASY
70.8
21Binary Tree Zigzag Level Order TraversalMEDIUM
70.8
22Course ScheduleMEDIUM
70.8
23Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMEDIUM
70.8
24Kth Largest Element in an ArrayMEDIUM
70.8
25Course Schedule IIMEDIUM
70.8
26Pow(x, n)MEDIUM
63.2
27Rotting OrangesMEDIUM
63.2
28Generate ParenthesesMEDIUM
63.2
29Best Time to Buy and Sell Stock IIMEDIUM
63.2
30Search in Rotated Sorted ArrayMEDIUM
63.2
31Longest ZigZag Path in a Binary TreeMEDIUM
63.2
32Binary Search Tree to Greater Sum TreeMEDIUM
63.2
33Decode StringMEDIUM
63.2
34Concatenated WordsHARD
63.2
35Longest Substring Without Repeating CharactersMEDIUM
63.2
36Two SumEASY
63.2
37Design a Stack With Increment OperationMEDIUM
63.2
38Time Based Key-Value StoreMEDIUM
52.5
39Matchsticks to SquareMEDIUM
52.5
40Longest Valid ParenthesesHARD
52.5
41Rank Teams by VotesMEDIUM
52.5
42Reorganize StringMEDIUM
52.5
43Top K Frequent ElementsMEDIUM
52.5
44Find Pivot IndexEASY
52.5
45Valid Palindrome IIEASY
52.5
46Integer to English WordsHARD
52.5
47PermutationsMEDIUM
52.5
48Koko Eating BananasMEDIUM
52.5
49Nested List Weight SumMEDIUM
52.5
50Roman to IntegerEASY
52.5

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 eBay 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

Arrays are the foundation here; nearly 54% of the reported problems touch array manipulation. String problems (24 reports) are a close second, and hash tables (20) unlock solutions for caching and group operations like anagrams. Dynamic programming appears in 15 problems but punches above its weight: Partition Equal Subset Sum and Minimum Window Subsequence are both medium-to-hard DP patterns you can't wing. Graph traversal (DFS and BFS combined, 22 problems) matters for island-counting and lock-opening style problems. Sorting and two-pointers (12 and 8 respectively) are sneaky prerequisites for greedy and array-manipulation questions. Hit arrays and strings first; they're your volume. Then nail DP and hash tables before test day, because that's where candidates typically wall out. When you hit the live OA, StealthCoder is your real-time backup if an unfamiliar pattern lands.

Companies with similar patterns

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

The honest play

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

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.

eBay interview FAQ

How many array problems should I solve before eBay's OA?+

Arrays show up in 42 of the 78 reported problems. Drill at least 20 to 25 distinct array patterns (two-pointers, sliding window, rotation, partition, etc.). You'll see at least 2 to 3 array problems in your actual OA. Skipping array prep is a fast way to bomb early.

Is dynamic programming required for eBay?+

Yes. DP appears in 15 reported problems and two of the top patterns (Partition Equal Subset Sum and Minimum Window Subsequence) are medium-to-hard DP. You don't need to be a DP wizard, but you must recognize subset-sum, unbounded knapsack, and string-matching DP shapes before the OA.

Should I study hash tables before or after strings?+

Study them in parallel. Hash tables (20 problems) overlap heavily with string work: Group Anagrams, LRU Cache, and Open the Lock all use hash-based logic. Mastering hash tables lets you solve string problems faster. You can't skip either one.

What's the hardest problem type I'll face?+

Minimum Window Subsequence and Word Ladder are both reported hard problems that combine strings, DP or BFS, and sliding-window logic. They're not unsolvable, but they demand composing multiple techniques. LRU Cache (medium) is also deceptively tricky because it requires design thinking on top of hash-table and linked-list skills.

How much time should I spend on sorting and two-pointers?+

Less than arrays or DP, but don't skip it. Sorting and two-pointers appear in 12 and 8 problems respectively. Greedy array problems like Minimize Maximum Pair Sum lean on sorting and two-pointers. Spend 3 to 4 hours on this topic after you've locked down arrays and strings.

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