https://leetcode.com/problems/gas-station/description/
This is the original problem but I was wondering whether you could find all the points i (1<=i<=n) that satisfy the problem.
I couldn’t think of a better solution than O(n^2) (an obvious solution) for this problem (n<=1e5)
New contributor
turtle silver is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.