⌘K
Flycodx

Design Ride-Sharing App LLD (Ola)

Design Ride-Sharing App LLD (Ola)

HardLLD0% accepted

Design the LLD (class diagram and methods) for Ola ride-sharing: user requests ride, driver accepts, ride starts, ends, payment processed, ratings given. Cover all entities, their attributes, relationships, and state transitions.

Approach

Design Ola LLD with rider, driver, trip, matching, payment, and ratings.

Input

Rider requests SEDAN from Koramangala

Output

RideRequest(riderId, SEDAN, pickupLocation, dropLocation); MatchingService finds available SEDAN drivers within 5km

Scenarios & Expected Answers

Sign in to continue

Create a free account to view answers and mark progress.

  • Free forever — no credit card
  • Theory Q&A with detailed answers
  • Points, streaks & leaderboards
Auto Save On