LeetCode 134 - Gas Station

Post thumbnail
Post thumbnail
Prompt: Given 2 arrays, a = [a0,a1,a2, …, an-1] and b = [b0,b1,b2, …, bn-1], the a array represents the amount of gas that is contained at gas station i and the b array represents the amount of gas needed to get to the next gas station ,in a clockwise... [Read More]
Tags: Leetcode