eBay vs X Interview Questions
eBay lists 62 LeetCode interview questions while X lists 51. They share 7 problems — 11% of eBay's bank and 14% of X's. Focus on the overlap first, then drill into 55 eBay-only and 44 X-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 7 overlapping problems first. These are the highest-yield questions for candidates interviewing at both eBay and X.
Step 2 — Company-specific depth: Add eBay-specific problems like Remove One Element to Make the Array Strictly Increasing, Alternating Digit Sum, Partition Equal Subset Sum and X-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: X skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
7 Shared Questions
High-priority problems to practice for both eBay and X.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Binary Gap | Easy |
| Design Skiplist | Hard |
| Merge Intervals | Medium |
| Valid Parentheses | Easy |
| Merge k Sorted Lists | Hard |
| Alien Dictionary | Hard |
Unique to eBay (55)
Problems in eBay's list that do not appear at X.
| Problem | Difficulty |
|---|---|
| Remove One Element to Make the Array Strictly Increasing | Easy |
| Alternating Digit Sum | Easy |
| Partition Equal Subset Sum | Medium |
| Minimize Maximum Pair Sum in Array | Medium |
| Minimum Window Subsequence | Hard |
| Subtree of Another Tree | Easy |
| Two Sum | Easy |
| Spiral Matrix | Medium |
| Top K Frequent Elements | Medium |
| Open the Lock | Medium |
| Number of Islands | Medium |
| Binary Tree Cameras | Hard |
Unique to X (44)
Problems in X's list that do not appear at eBay.
| Problem | Difficulty |
|---|---|
| Trapping Rain Water | Hard |
| Tweet Counts Per Frequency | Medium |
| Flatten Nested List Iterator | Medium |
| Implement Trie (Prefix Tree) | Medium |
| Insert Delete GetRandom O(1) | Medium |
| Design Twitter | Medium |
| Regular Expression Matching | Hard |
| Integer to Roman | Medium |
| Word Break II | Hard |
| Time Needed to Buy Tickets | Easy |
| Max Points on a Line | Hard |
| Trapping Rain Water II | Hard |
Frequently Asked Questions
How many LeetCode questions do eBay and X share?
eBay and X share 7 LeetCode interview questions. 55 problems appear only in eBay's list and 44 appear only in X's list.
What topics overlap most between eBay and X?
The most common shared topics between eBay and X are Linked List (3 shared questions), Design (2 shared questions), Array (2 shared questions), String (2 shared questions), Hash Table (1 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: eBay or X?
eBay has 10 Easy, 39 Medium, and 13 Hard questions. X has 8 Easy, 31 Medium, and 12 Hard questions. X has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both eBay and X?
Start with the 7 shared problems since they cover what both companies ask most often. Then add 20 eBay-specific and 20 X-specific questions to round out your prep.