InterviewDB Question

Shuttle Seating: Assign Passengers to Shuttle Seats Under Capacity Constraints

Question Details

Problem A company runs shuttle buses between offices. Each shuttle has a fixed number of seats. You are given a list of passenger requests, each specifying a pickup stop, a dropoff stop, and a priority level. Assign passengers to shuttles such that a…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone