There was an error while loading. Please reload this page.
1 parent 41ddcd8 commit 02a229bCopy full SHA for 02a229b
1 file changed
data_structures/arrays/gas_station.py
@@ -11,7 +11,7 @@ def can_complete_circuit(gas_stations: list[GasStation]) -> int:
11
Finds the starting station index to complete the circuit,
12
or returns -1 if not possible.
13
Args:
14
- gas_stations (List[GasStation]): List of gas stations with gas and cost attributes.
+ gas_stations (List[GasStation]): List of gas stations with gas and cost.
15
Returns:
16
The index of the starting station, or -1 if no solution exists.
17
Examples:
0 commit comments