[ OK ] 454 — full content available
[ INFO ] category: System Design difficulty: hard freq: high first seen: 2026-01-13
[HARD][SYSTEM DESIGN][HIGH]data_engineeringDistributed Systemswebmachine_learningReal-timeLocation ServicesbackendinfrastructureMatching
$ cat problem.md
Design a ride-sharing service like Uber.
Requirements:
- Riders can request rides
- Drivers can accept rides
- Real-time location tracking
- Ride matching algorithm
- Handle peak hours (surge pricing)
Key Components:
- Location Service: GPS updates from drivers/riders
- Matching Service: Match riders to nearby available drivers
- Pricing Service: Dynamic pricing based on demand
- Trip Service: Manage trip lifecycle
- Payment Service: Handle payments
Discussion Points:
- How to efficiently find nearby drivers (geospatial indexing)
- Real-time location updates at scale
- Handling peak hours and surge pricing
- Kafka/Redis for real-time data
- Driver/rider profiles and ratings
// Functionality to add full integration TBD, in the meantime, please check out the problem description to see what you might expect in the interview!