We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a2f92 commit d86adfcCopy full SHA for d86adfc
data_structures/arrays/gas_station.py
@@ -1,7 +1,7 @@
1
class Solution:
2
def can_omplete_circuit(self, gas: list[int], cost: list[int]) -> int:
3
"""
4
- Finds the starting station index to complete the circuit,
+ Finds the starting station index to complete the circuit,
5
or returns -1 if not possible.
6
Args:
7
gas (List[int]): List of gas available at each station.
0 commit comments