Gas Station 3rd

Note: one-pass & O(1) space.