eBay Interview Prep

eBay runs a moderate, practical loop: a recruiter screen, a coding screen, then a four-round onsite covering coding, design, behavioural, and a hiring manager conversation. The coding bar is medium and the emphasis is on working, readable code with the edge cases handled. Reported rounds include debugging and reasoning about existing code more often than they include rare algorithms.

The design round is where the domain shows up, and the domain is genuinely distinctive. A marketplace has two sides to keep happy, a catalogue that sellers edit constantly, and auctions — which bring their own correctness problems that no feed or chat system has. Bid ordering, proxy bidding, what happens in the last seconds before close, and making sure a listing edit shows up in search are the questions worth rehearsing.


Interview Process

Stage Duration Focus
Recruiter Screen 30 min Background, level, team
Online Assessment 60-70 min CodeSignal-style coding, some loops skip it
Technical Screen 45-60 min Live coding, medium
Onsite: Coding 45-60 min DSA plus debugging and clean code
Onsite: System Design 60 min Marketplace, search, or auction mechanics
Onsite: Behavioural 45 min Collaboration, customer focus, past projects
Hiring Manager 30-45 min Team fit, scope, expectations

A four-round onsite is the usual shape, often in one block. Candidates frequently describe the loop as template-like and fairly predictable, with the design round varying most by interviewer — some drive it as a structured product design, others as an open architecture chat. Ask at the start what they want to go deep on rather than guessing.


What eBay Actually Tests

Derived from 64 reported eBay-tagged problems. Difficulty mix:

Difficulty Count Share
Easy 10 16%
Medium 41 64%
Hard 13 20%

Hard problems are a real but minority share. Medium fluency wins most rounds; Hard shows up late in the loop.

Where those problems fall by pattern:

Rank Pattern Problems Share of list
1 Arrays & Hashing 12 19%
2 Sliding Window & Two Pointers 11 17%
3 Dynamic Programming 8 13%
4 Graphs 7 11%
5 Design (Coding) 5 8%
6 Trees 4 6%
7 Heap / Priority Queue 4 6%
8 Binary Search 3 5%
9 Strings 2 3%
10 Tries & String Search 2 3%

eBay Signature Problems

These rank high on eBay’s list but are reported by few other companies — the questions that are distinctively theirs rather than generic interview classics. The last column is how many of the 142 companies on this site report each one.

# Problem Pattern Difficulty Also asked at Link
1 Remove One Element to Make the Array Strictly Increasing Array Easy 3 of 142 LeetCode →
2 Alternating Digit Sum Math Easy 4 of 142 LeetCode →
3 Minimum Window Subsequence Sliding Window + DP Hard 5 of 142 LeetCode →
4 Binary Gap Bit Manipulation Easy 6 of 142 LeetCode →
5 Design Skiplist Linked List + Design Hard 7 of 142 LeetCode →
6 Minimize Maximum Pair Sum in Array Greedy + Two Pointers Medium 6 of 142 LeetCode →
7 Partition Equal Subset Sum 0-1 Knapsack + Knapsack Problem Medium 14 of 142 Solve →
8 Reverse Pairs Treap + Merge Sort Hard 9 of 142 Solve →
9 Matchsticks to Square Bitmask + Backtracking Medium 7 of 142 Solve →
10 Restore the Array From Adjacent Pairs DFS Medium 8 of 142 Solve →
11 Interleaving String DP Medium 8 of 142 Solve →
12 Shortest Unsorted Continuous Subarray Monotonic Stack + Greedy Medium 8 of 142 LeetCode →
13 Block Placement Queries Fenwick Tree + Segment Tree Hard 9 of 142 LeetCode →
14 Alternating Groups II Sliding Window Medium 5 of 142 LeetCode →

If you are short on time, these carry more eBay-specific signal per hour than the universal top-100 lists.


Reported in the Last Six Months

The recency-filtered slice of eBay’s list, ranked by how often each was reported. Expect heavy overlap with the all-time classics — that overlap is the point, it means these stay in rotation.

# Problem Pattern Difficulty Link
1 Reverse Pairs Treap + Merge Sort Hard Solve →
2 Minimize Result by Adding Parentheses to Expression Enumeration + String Medium LeetCode →
3 LRU Cache Doubly Linked List + Design Medium Solve →
4 3Sum Two Pointers Medium Solve →
5 Alternating Groups II Sliding Window Medium LeetCode →
6 Binary Tree Cameras DP on Trees + Binary Tree Hard Solve →
7 Decode String Stack Medium Solve →
8 Maximal Square DP Medium Solve →
9 Median of Two Sorted Arrays Divide and Conquer + Binary Search Hard Solve →
10 Merge Intervals Quicksort Medium Solve →
11 Top K Frequent Elements Quickselect + Bucket Sort Medium Solve →
12 Two Sum Hash Table + Array Easy Solve →
13 Valid Palindrome II Greedy + Two Pointers Easy Solve →

System Design (HLD) Problems Asked at eBay

# Problem Difficulty Link
1 E-commerce Platform (Marketplace) Advanced Read →
2 Search Autocomplete (Listing Search) Intermediate Read →
3 Cart System Intermediate Read →
4 Delayed Trigger Service (Auction Close Timers) Intermediate Read →
5 Leaderboard (Top Bids and Rankings) Intermediate Read →
6 Payment System Advanced Read →
7 Notification System (Outbid and Watchlist Alerts) Intermediate Read →
8 Rate Limiter (Seller API Quotas) Beginner Read →
9 Metrics and Monitoring System Intermediate Read →

LLD / Machine Coding Problems Asked at eBay

Component design appears either as its own round or as the second half of the coding round. Model the domain in classes and expect a new requirement — a second listing type, a bidding rule, a refund path — to arrive once your model is on the board.

# Problem Difficulty Link
1 E-commerce Cart Intermediate Read →
2 Inventory Management (Listings and Stock) Intermediate Read →
3 Order Management System Intermediate Read →
4 Queue Management Intermediate Read →
5 Rate Limiter Intermediate Read →

DSA Problems Asked at eBay

62 problems across 12 pattern groups. Each group is allocated in proportion to its real share of eBay’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.

Arrays & Hashing

Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. All 12 on the list.

# Problem Pattern Difficulty Link
1 Remove One Element to Make the Array Strictly Increasing Array Easy LeetCode →
2 Alternating Digit Sum Math Easy LeetCode →
3 Spiral Matrix Simulation + Matrix Medium Solve →
4 Two Sum Hash Table + Array Easy Solve →
5 Pow(x, n) Recursion + Math Medium LeetCode →
6 Set Matrix Zeroes Matrix + Hash Table Medium Solve →
7 Restore the Array From Adjacent Pairs DFS Medium Solve →
8 Rotting Oranges BFS Medium Solve →
9 Nearest Exit from Entrance in Maze BFS Medium LeetCode →
10 Product of Array Except Self Prefix Sum Medium Solve →
11 Spiral Matrix II Simulation + Matrix Medium LeetCode →
12 Walls and Gates BFS Medium Solve →

Sliding Window & Two Pointers

Linear-time scans over arrays and strings. High volume, low variance — these should be automatic. All 11 on the list.

# Problem Pattern Difficulty Link
13 Minimize Maximum Pair Sum in Array Greedy + Two Pointers Medium LeetCode →
14 Sort Array By Parity Two Pointers Easy LeetCode →
15 3Sum Two Pointers Medium Solve →
16 Longest Substring Without Repeating Characters Sliding Window Medium Solve →
17 Shortest Unsorted Continuous Subarray Monotonic Stack + Greedy Medium LeetCode →
18 Sort Colors Bubble Sort + Quicksort Medium Solve →
19 Valid Palindrome II Greedy + Two Pointers Easy Solve →
20 Alternating Groups II Sliding Window Medium LeetCode →
21 Palindrome Linked List Linked List + Stack Easy Solve →
22 String Compression Two Pointers Medium Solve →
23 Substring with Concatenation of All Words Sliding Window Hard LeetCode →

Dynamic Programming

State definition is the whole battle. Say the recurrence out loud before you write the table. All 8 on the list.

# Problem Pattern Difficulty Link
24 Minimum Window Subsequence Sliding Window + DP Hard LeetCode →
25 Partition Equal Subset Sum 0-1 Knapsack + Knapsack Problem Medium Solve →
26 Matchsticks to Square Bitmask + Backtracking Medium Solve →
27 Maximal Square DP Medium Solve →
28 Interleaving String DP Medium Solve →
29 Jump Game II Greedy + DP Medium Solve →
30 Best Time to Buy and Sell Stock II Greedy + DP Medium Solve →
31 Generate Parentheses Bracket Sequences + Backtracking Medium Solve →

Graphs

Traversal, connectivity, ordering, and shortest paths. The hardest bucket to fake — either you have drilled it or you have not. All 7 on the list.

# Problem Pattern Difficulty Link
32 Number of Islands Union-Find + BFS Medium Solve →
33 Open the Lock Bidirectional Search + BFS Medium Solve →
34 Course Schedule DAG + Topological Sort Medium Solve →
35 Word Ladder Bidirectional Search + BFS Hard Solve →
36 Reconstruct Itinerary Semi-Eulerian Graph + Eulerian Circuit Hard Solve →
37 Alien Dictionary DAG + Topological Sort Hard Solve →
38 Clone Graph Graph + BFS Medium LeetCode →

Design (Coding)

Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 5 on the list.

# Problem Pattern Difficulty Link
39 LRU Cache Doubly Linked List + Design Medium Solve →
40 Design Skiplist Linked List + Design Hard LeetCode →
41 Time Based Key-Value Store Design + Binary Search Medium Solve →
42 Design a Stack With Increment Operation Design + Stack Medium Solve →
43 Find Median from Data Stream Data Stream + Design Hard Solve →

Trees

Recursion discipline: what you return up, what you pass down. Follow-ups usually push from recursive to iterative. All 4 on the list.

# Problem Pattern Difficulty Link
44 Subtree of Another Tree String Matching + Hash Function Easy Solve →
45 Binary Tree Cameras DP on Trees + Binary Tree Hard Solve →
46 Reverse Pairs Treap + Merge Sort Hard Solve →
47 Block Placement Queries Fenwick Tree + Segment Tree Hard LeetCode →

Heap / Priority Queue

Top-k, streaming medians, and scheduling. Usually the difference between a passing and a timing-out solution. All 4 on the list.

# Problem Pattern Difficulty Link
48 Top K Frequent Elements Quickselect + Bucket Sort Medium Solve →
49 Kth Largest Element in an Array Quickselect + Divide and Conquer Medium Solve →
50 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit Monotonic Queue + Ordered Set Medium Solve →
51 Merge k Sorted Lists Tournament Sort + Merge Sort Hard Solve →

Half of these are binary search on the answer, not on an array. Learn to spot the monotonic predicate. All 3 on the list.

# Problem Pattern Difficulty Link
52 Find Peak Element Binary Search Medium Solve →
53 Median of Two Sorted Arrays Divide and Conquer + Binary Search Hard Solve →
54 Search in Rotated Sorted Array Binary Search Medium Solve →

Prefix structures and substring matching. Common wherever autocomplete or search is part of the product. All 2 on the list.

# Problem Pattern Difficulty Link
55 Longest Palindromic Substring Manacher + Two Pointers Medium Solve →
56 Repeated Substring Pattern KMP + Z Algorithm Easy Solve →

Backtracking

Enumerate with pruning. Interviewers look for a clean choose, explore, unchoose loop and a real complexity bound. All 2 on the list.

# Problem Pattern Difficulty Link
57 Word Search Backtracking + DFS Medium Solve →
58 Sudoku Solver Dancing Links + Algorithm X Hard Solve →

Stack & Monotonic Stack

Nearest-greater, parsing, and span problems. The monotonic variant is the one people miss. All 2 on the list.

# Problem Pattern Difficulty Link
59 Valid Parentheses Bracket Sequences + Stack Easy Solve →
60 Decode String Stack Medium Solve →

Strings

Parsing, transformation, and in-place edits. Clarify the character set and whitespace rules before you start. All 2 on the list.

# Problem Pattern Difficulty Link
61 Group Anagrams Sorting + Hash Table Medium Solve →
62 Minimize Result by Adding Parentheses to Expression Enumeration + String Medium LeetCode →

eBay’s Favourite Patterns (Ranked)

Rank Pattern Frequency Problems on list Start with
1 Arrays & Hashing Very High 12 (19%) Remove One Element to Make the Array Strictly Increasing, Alternating Digit Sum, Spiral Matrix
2 Sliding Window & Two Pointers High 11 (17%) Minimize Maximum Pair Sum in Array, Sort Array By Parity, 3Sum
3 Dynamic Programming High 8 (13%) Minimum Window Subsequence, Partition Equal Subset Sum, Matchsticks to Square
4 Graphs Medium-High 7 (11%) Number of Islands, Open the Lock, Course Schedule
5 Design (Coding) Medium-High 5 (8%) LRU Cache, Design Skiplist, Time Based Key-Value Store
6 Trees Medium-High 4 (6%) Subtree of Another Tree, Binary Tree Cameras, Reverse Pairs
7 Heap / Priority Queue Medium 4 (6%) Top K Frequent Elements, Kth Largest Element in an Array, Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
8 Binary Search Medium 3 (5%) Find Peak Element, Median of Two Sorted Arrays, Search in Rotated Sorted Array
9 Tries & String Search Medium 2 (3%) Longest Palindromic Substring, Repeated Substring Pattern
10 Backtracking Medium 2 (3%) Word Search, Sudoku Solver

How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Arrays & Hashing, Sliding Window & Two Pointers, Dynamic Programming covers the bulk of what eBay actually asks. The rest is insurance for the one round that goes somewhere unexpected.


Designing an Auction: The Parts Candidates Miss

Auctions look simple and are not. Every row here is a reported follow-up in some form, and most candidates only prepare the first one.

Problem Why it is hard What a strong answer covers
Bid acceptance Many bids on one item at the same instant Single ordering authority per listing, conditional write against the current high bid, and a clear rejection response
Duplicate bids The client retried after a timeout Idempotency key per bid attempt, so a retry cannot bid twice
Proxy bidding The system bids on the user’s behalf up to a maximum Store maximums, resolve increments deterministically, and never reveal a competitor’s maximum
Close timing Thousands of auctions end every second Durable timers rather than polling, a scheduler that survives restart, and idempotent close handling
Sniping Bids land in the last second A stated rule: hard close, or extension on late bids, plus clock authority on the server
Outbid notifications Fan-out on every bid Async delivery, deduplication, and accepting that the notification can lag the bid
Search freshness A listing edit must become visible Index write path, lag budget, and what a buyer sees if they act on a stale listing
Listing integrity Sellers can edit an item with active bids Which fields lock once bidding starts, and the audit trail for the rest
Payment after close The winner must actually pay Hold or invoice, an expiry, and the second-chance path when they do not
Disputes Money moved, goods did not Reversal rather than mutation, evidence trail, and a defined resolution state machine

If you want one sentence to anchor the round: an auction is a strictly ordered, time-bounded, exactly-once write path with a read path that is allowed to be slightly stale. Say that, then design to it.


Behavioural Round

# Question
1 Tell me about a time you balanced the needs of two different user groups.
2 Tell me about a bug that only showed up at scale or under real traffic.
3 Tell me about a feature you shipped that users did not adopt. What did you learn?
4 Tell me about a time you had to work in an unfamiliar legacy codebase.
5 Tell me about a disagreement with a product manager and how it resolved.
6 Tell me about a time you improved the reliability of something you did not build.
7 Tell me about a trade-off you made between speed and correctness.
8 Why eBay, and which part of the marketplace interests you?

A marketplace is a two-sided product, so stories where you weighed buyer experience against seller needs, or user growth against trust and safety, fit this loop well. Keep them concrete about what you measured and what you chose to accept.


14-Day Prep Plan

Built from the pattern ranking above, so the heaviest topics get the most time.

Day Focus Problems
1 Arrays & Hashing (part 1) Remove One Element to Make the Array Strictly Increasing, Alternating Digit Sum, Spiral Matrix
2 Arrays & Hashing (part 2) Two Sum, Pow(x, n), Set Matrix Zeroes
3 Sliding Window & Two Pointers (part 1) Minimize Maximum Pair Sum in Array, Sort Array By Parity, 3Sum
4 Sliding Window & Two Pointers (part 2) Longest Substring Without Repeating Characters, Shortest Unsorted Continuous Subarray, Sort Colors
5 Dynamic Programming (part 1) Minimum Window Subsequence, Partition Equal Subset Sum, Matchsticks to Square
6 Dynamic Programming (part 2) Maximal Square, Interleaving String, Jump Game II
7 Graphs Number of Islands, Open the Lock, Course Schedule
8 Design (Coding) LRU Cache, Design Skiplist, Time Based Key-Value Store
9 Trees Subtree of Another Tree, Binary Tree Cameras, Reverse Pairs
10 Heap / Priority Queue Top K Frequent Elements, Kth Largest Element in an Array, Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
11 Binary Search Find Peak Element, Median of Two Sorted Arrays, Search in Rotated Sorted Array
12 Mock round Two problems in 45 minutes, timed, no hints. Simulate the real round.
13 Revision Redo the problems you failed or needed a hint on.
14 Light review + rest Re-read your pattern notes. Sleep early.

Tips for eBay Interviews

  1. Design the auction, not the catalogue. Bid acceptance under concurrency, strict ordering, proxy or automatic bidding, and exactly-once handling of a bid that the client retried. These are the parts candidates skip and interviewers care about.
  2. Have an answer for the final seconds of an auction. Sniping, last-second bid bursts, clock skew between client and server, and whether the close time can extend. Say which rule you are implementing and why it is defensible.
  3. Make search indexing explicit. Sellers edit titles, prices, and stock constantly. Talk about the write path into the index, acceptable freshness lag, faceted filters, and what the buyer sees while the index catches up.
  4. Cover the seller side too. Listing creation and bulk edits, policy and prohibited-item checks, seller metrics, and payouts. Designing only the buyer flow leaves half the product undiscussed.
  5. Expect to read code, not just write it. Reported coding rounds include debugging and reasoning about an existing implementation. Practice narrating what unfamiliar code does before changing it.
  6. Keep DSA at medium. The tagged list above skews medium with a conventional spread: arrays, strings, hashing, trees, and intervals. Clean implementations and self-raised edge cases beat clever tricks here.
  7. Bring trust and safety up unprompted. Fraud on both sides, counterfeit listings, buyer protection, and dispute flows are daily work on a marketplace and a cheap way to show domain awareness.

Other Company Prep


Round structures, durations, and the presence of an online assessment reflect commonly reported candidate experience rather than published eBay documentation. The loop varies by org, level, and region, and the design round in particular varies by interviewer. Confirm the format with your recruiter.