Skip to content

Commit 07ca8fb

Browse files
authored
Update second-minimum-time-to-reach-destination.cpp
1 parent 57a81a3 commit 07ca8fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

C++/second-minimum-time-to-reach-destination.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Time: O(|V| + |E|)
2-
// Space: O(|V| + |E|)
1+
// Time: O(|V| + |E|) = O(|E|) since graph is connected, O(|E|) >= O(|V|)
2+
// Space: O(|V| + |E|) = O(|E|)
33

44
class Solution {
55
public:

0 commit comments

Comments
 (0)