Skip to content

Commit 5484f07

Browse files
typo fix
1 parent be61df3 commit 5484f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problems/2045/jeremymanning.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
- Given the current time, we can compute the current signal status and update the next travel time accordingly
3939
- To store both the "minimum" and "second minimum" times, we can create a matrix of tuples: `min_times[i][j][0]` has the minimum time path from `i` to `j`, and `min_times[i][j][1]` has the second minimum time from `i` to `j`:
4040
- If we find a better time than `min_times[i][j][0]`:
41-
- `min_times[i][j][1] = `min_times[i][j][0]`
41+
- `min_times[i][j][1] = min_times[i][j][0]`
4242
- `min_times[i][j][0] = new_best_time`
4343
- We can use a list of lists to represent the graph:
4444
- `graph[i]` stores the edges originating at `i`

0 commit comments

Comments
 (0)