50. Design a Ride-Sharing Service like Uber
Price a trip, match a rider to a nearby driver who has ten seconds to accept, and never give one driver two rides.
Start with a template. Work through each step. Ask Coach when you need a second opinion.
Company tags are community-reported. Counts on cards show how many people reported that design.
Price a trip, match a rider to a nearby driver who has ten seconds to accept, and never give one driver two rides.
Show what 10,000 small warehouses can deliver within the hour in under 100 ms, and take multi-item orders without ever selling a unit twice.
Search 10 million businesses by place, words and category, keep every average rating exact, and keep fake reviews out.
Stacks of nearby people in under 300 ms, 2 billion swipes a day, and a match never missed even when both like at once.
Radius, k-nearest and map-box search over places that rarely move and drivers that ping every few seconds: R-trees, geohash, H3 and S2 cells, Redis GEO and OpenSearch. One-hour boards for junior, senior and staff, with the theory.
Nights as counted inventory, holds that never double-book, search that knows availability, and payments that reconcile.
Count 4 million moving drivers per map cell from a million pings a second, and serve the density to a million viewers as cached map tiles.
Find restaurants that deliver to you, check out without double charges, time couriers to the kitchen and track them live.
Rank upcoming events when every event is new and expires: geo and time candidates, live features, calibrated ranking, a two-sided market.