← Accolite questions

Minimum petrol pump stops for round trip across cities

Filed under Accolite

Given N cities in a circular route, calculate the minimum number of petrol pump stops required to complete a round trip starting with P liters of petrol.

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

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