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
This is optimized case of @George Duckett's answer.
If you reached your start station - problem solved.
If on some station you do not have enough fuel to reach next one
If you had gone counterclockwise to already visited station - bad luck, there is not enough fuel on stations to go full circle.