https://kraft.blog/2016/01/gas-station-math/
Gas Station Math