InterviewDB
Experience
Voyage - Simulate a Multi-Stop Journey with Fuel Constraints
phone
Interview Experience
Round 1 - Coding Problem A vehicle starts at station 0 with a full tank of capacity fuel units. Each station i has a fuel amount fuel[i] available and a cost[i] to travel to the next station. Determine the minimum starting station index from which the vehicle can complete a circular tour of all stations. If no solution exists, return -1. Example Follow-ups How does the solution change if the tank cannot exceed capacity at any point (true fuel cap)? What if some stations can be skipped but skippi…
Full Details
🔒
Unlock all Flexport questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited access