Implement a ride sharing system with add, find, book and cancel ride functions.
Unlock detailed company stats for this questionUpgrade
The function names and parameters are given and you fill in their working, similar to standard LeetCode design questions like Simple Bank System. Functions include add rides, find ride, book ride, cancel ride and similar. You have one hour to code it and run one test case.
Format · 1 hour to code and run one test case; passing the test case meant passing the round.
Community answers
No answers contributed by the community yet.
Related questions
Implement an in-memory file system (files and directories) with functions like ls, mkdir, addFile, getFile.Implement a multi-level parking lot with park, unpark and check functions.Implement a voting system with castVote() and getTopKCandidates().Related courses

Course

Course
Course
