← OYO questions

Circular Tour to Visit All Stations

Filed under OYO

Given a circular array of petrol pumps and distances to the next pump, find the first starting petrol pump from which a truck can complete the circular tour without running out of fuel. Return its…

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 OYO questions

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