Design a URL Shortening Service
Design a deliberately small URL-shortening core, then evolve it into a highly available service whose fixed logical shards can move safely as physical storage capacity grows.
PracticeeBay interview practice
FastPrep has 19 coding questions tagged eBay, plus 6 system design and 1 project coding questions. Filter them by interview stage and open any one to practice it.
Question list
Sorted by how many times each question was reported. Pick a stage to see only its questions.
Showing 19 of 19 eBay questions.
| Question | Difficulty | Stage | Reports |
|---|---|---|---|
| Container With Most WaterArrayTwo Pointers | Medium | Onsite | 2 reports · last Aug 2026 |
| Daily TemperaturesArrayStack | Medium | Onsite | 2 reports · last Aug 2026 |
| Count Distinct Pairs With Sum KArrayHash Table | Easy | Onsite | 1 report · last Nov 2026 |
| Diameter of Binary TreeTreeDepth-First Search | Easy | Onsite | 1 report · last Nov 2026 |
| Extract Hashtags from a TweetString | Easy | Onsite | 1 report · last Nov 2026 |
| Validate Ada Integer LiteralString | Easy | Onsite | 1 report · last Nov 2026 |
| Meeting Rooms IIArraySorting | Medium | Phone | 1 report · last Oct 2026 |
| Count Staircases with Strictly Increasing StepsDynamic ProgrammingMath | Medium | Onsite | 1 report · last Oct 2026 |
| Hierarchical Permission CheckGraphBreadth-First Search | Medium | Onsite | 1 report · last Oct 2026 |
| Matrix MultiplicationMatrixArray | Easy | Onsite | 1 report · last Oct 2026 |
| N-Queens Solution CountBacktrackingBit Manipulation | Hard | Onsite | 1 report · last Oct 2026 |
| Construct a Binary Tree from Preorder and InorderTreeHash Table | Medium | Phone | 1 report · last Oct 2026 |
| Gas StationArrayGreedy | Medium | Onsite | 1 report · last Oct 2026 |
| Onion-Peel Layers of a Binary TreeTreeDepth-First Search | Medium | Onsite | 1 report · last Oct 2026 |
| Maximum Size Subarray Sum Equals KArrayPrefix Sum | Medium | Phone | 1 report · last Sep 2026 |
| Longest Palindromic SubstringStringDynamic Programming | Medium | Phone | 1 report · last Aug 2026 |
| K Smallest Elements from Sorted ArraysArrayHeap | Medium | Phone | 1 report · last Jul 2026 |
| Single-Pass Search in a Rotated Sorted ArrayArrayBinary Search | Medium | Phone | 1 report · last Jul 2026 |
| Xiangqi Horse ReachabilityMatrixGraph | Medium | Phone | 1 report · last Jul 2026 |
At a glance
FastPrep has 19 eBay coding interview questions: 7 questions from phone screens and 12 questions from onsite rounds. Most are medium (13 medium, 5 easy and 1 hard). The most common topics are Array, Hash Table, Breadth-First Search, String and Tree. The latest report is from Nov 2026.
7 questions · 7 medium
Topics: Array, Hash Table and Heap
Latest report: Oct 2026
12 questions · 6 medium, 5 easy and 1 hard
Topics: Array, Breadth-First Search and Depth-First Search
Latest report: Nov 2026
By stage and level
01 · Preparation plan
eBay's compact catalog supports a selection-and-search preparation path. Two-pointer area optimization, merging sorted candidates, and a constrained board traversal require different notions of what to explore next. Use the linked design practice when relevant, without generalizing to all eBay roles or product architecture. This is a suggested practice order, not eBay's interview process. Your invitation and recruiter come first.
Container With Most Water is useful for proving a two-pointer decision. Explain why retaining the shorter side cannot improve the result when width decreases.
Use k-smallest selection to maintain one current candidate from each source. Advancing a source should happen only after its candidate is consumed.
Xiangqi horse reachability is a graph exercise whose legal edges depend on board constraints. Build the move validator before adding breadth-first search.
02 · Design and project questions
Beyond coding questions, FastPrep has 6 system design and 1 project coding questions tagged eBay.
Design a deliberately small URL-shortening core, then evolve it into a highly available service whose fixed logical shards can move safely as physical storage capacity grows.
PracticeServe versioned large models on shared accelerators with shard-aware scheduling, continuous batching, bounded admission, streaming recovery, stable experiments, and safe fallback or rollback.
PracticePublish immutable model versions, govern public and private access, and distribute large artifacts safely at global scale.
PracticeRepair a race in an asynchronous operation that updates shared local state.
PracticeDesign a shopping search bar that serves low-latency query suggestions and relevant product results while catalog and popularity data change continuously.
PracticeDesign a fresh top-ten sales dashboard using partition-local item and category aggregation, durable state, and bounded global merges.
PracticeDesign a workplace meal-ordering service with rotating daily restaurants, customizable menus, live availability updates, and consistent order submission.
Practice03 · About these questions
Each question on this page is tagged eBay in FastPrep's problem bank. The report count and month show how often and how recently it was reported from eBay interviews.
Past reports help you choose what to practice first. They can't tell you which questions, format or platform your own interview will use.
04 · FAQ
For hiring news and timelines, see the eBay hiring insights page.
The 19 eBay coding questions on FastPrep come from phone screens (7 questions) and onsite rounds (12 questions). Stages differ by role, level and date, so check your invitation for your own process.
Most eBay coding questions on FastPrep are medium. By difficulty, the 19 rated questions are 13 medium, 5 easy and 1 hard.
Across 19 eBay coding questions, the most common topics are Array (9 questions), Hash Table (4 questions), Breadth-First Search (3 questions), String (3 questions) and Tree (3 questions).
The most reported questions are “Container With Most Water” (2 reports) and “Daily Temperatures” (2 reports).
The public catalog includes some design practice, but this page does not claim complete marketplace architecture coverage. Its primary evidence supports coding exercises. Treat any design scenario as a practice problem, not documentation of eBay's production systems or a guaranteed interview round.
No. FastPrep is an independent interview prep site and is not affiliated with eBay. These are practice questions from FastPrep's problem bank, not official, private or leaked eBay questions.
Each question's stage comes from the reports behind it. A question can be reported from more than one stage, and the process can change by role, level, location and year, so treat the stage as a guide, not a promise.
The stage named in your invitation or recruiter message. If you don't know the stage yet, start with the stage that has the most questions, then practice explaining and testing your code out loud.
No. Report counts, stages and dates show what came up before and help you choose what to practice first. They can't predict the questions, order, timing or platform of your own interview.
Next step
Start with the stage named in your invitation. Past reports show what came up before, not what you will be asked.
Back to the question list