Design a Price Recommendation System for Ticket Sellers
Last updated: November 29, 2026
Quick Overview
Design the ML system that suggests a listing price to a seller (and optionally updates it over time) so the ticket is likely to sell before the event, given that inventory expires worthless when the event starts.
StubHub
November 29, 20260
0
0 solved
Design the ML system that suggests a listing price to a seller (and optionally updates it over time) so the ticket is likely to sell before the event, given that inventory expires worthless when the event starts.
Casual sellers on StubHub rarely know what their seats are worth, and a good suggested price drives both liquidity and seller satisfaction. The round checks whether a candidate models probability of sale over a shrinking time horizon rather than just predicting a 'fair price', and whether they think about marketplace feedback loops.
What the Interviewer Expects
- Frames the target as sale probability or time to sale as a function of price, not just past sale price
- Builds features from comparable listings, seat quality, event demand and time to event
- Handles censoring for listings that never sold or were withdrawn
- Turns predictions into a recommendation that trades price against sale probability
- Discusses feedback loops when many sellers follow the same suggestion
- Plans online evaluation with marketplace-aware experiments
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How do you price a brand new event with no sales history yet?
- If every seller in a section follows the suggestion, how do you avoid a race to the bottom?
- How would you let a seller choose 'sell fast' versus 'maximise price'?
- How do you evaluate the model offline when you only observe outcomes at the price the seller chose?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
Input: an event, seat location, quantity, delivery type, and current time. Output: a recommended price, an estimated chance of selling before the event at that price, and optionally a price-drop sched...
High-Level Design
- Data: listing history with every price change, sales, withdrawals, event metadata and page views.
- Feature pipeline (batch plus streaming): comparable listings in the same and nearby sections (pr...