AlgoMaster Logo

Gas Station

gas=[1, 2, 3, 4, 5],cost=[3, 4, 5, 1, 2]
0 / 15
gas0112233445cost34512
algomaster.io
Step:Start: Find starting gas station to complete circuit