I got this question in an interview and I was not able to solve it.
You have a circular road, with N number of gas stations. You know the ammount of gas
Find the gas station with the most gas but for when the gas for the next station when added to the tank does not exceed the capacity of the tank.