← Amazon questions

Petrol and distance circular tour problem

Filed under Amazon

Given a circular tour containing N petrol pumps with petrol amounts and distances to the next pump, find the first starting petrol pump index from which a truck can complete the entire circular tour…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.