Ebay Coding Interview Questions
39 coding problems are tagged as asked at Ebay in interviews and online assessments reported by candidates. By difficulty they split into 9 basic, 23 intermediate and 7 advanced. The topics they most often combine with are Array, String, Sorting, Matrix.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Ebay 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)
- Valid Parentheses (Basic)
- Longest Substring Without Repeats (Intermediate)
- Product of Array Except Self (Intermediate)
- Kth Largest Element (Intermediate)
- Longest Palindromic Substring (Intermediate)
- Sort Colors (Basic)
- Repeated Substring Pattern (Intermediate)
- Sort Array by Parity (Basic)
- Merge Intervals (Intermediate)
- Partition Equal Subset Sum (Intermediate)
- Best Time to Buy and Sell Stock II (Intermediate)
- Top K Frequent Values (Intermediate)
- Course Schedule Feasible (Intermediate)
- LRU Cache Operations (Basic)
- Reconstruct Itinerary (Advanced)
- Walls and Gates Distance (Advanced)
- Palindrome Linked List (Basic)
- Subtree of Another Tree (Intermediate)
- Number of Islands (Basic)
- Rotting Oranges (Intermediate)
- Open the Lock (Intermediate)
- Alien Dictionary Order (Advanced)
- Nearest Exit From Maze Entrance (Intermediate)
- Interleaving String (Intermediate)
- Maximal Square (Intermediate)
- Word Search (Intermediate)
- Jump Game II (Intermediate)
- 3Sum Triplets (Intermediate)
- Valid Palindrome With One Deletion (Basic)
- Substring With Concatenation of All Words (Advanced)
- Time Based Key-Value Store (Intermediate)
- Sudoku Solver (Advanced)
- Reverse Pairs (Advanced)
- Restore Array From Adjacent Pairs (Intermediate)
- Minimum Window Subsequence (Advanced)
- Stack With Increment Operation (Intermediate)
- Alternating Digit Sum (Basic)
- Running Median of Stream (Intermediate)
Related
- Ebay basic problems
- Ebay intermediate problems
- Ebay Array problems
- Ebay String problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Ebay 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 Ebay 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.