Skip to content

Commit 1e34642

Browse files
authored
Update closest-node-to-path-in-tree.cpp
1 parent 2145b5e commit 1e34642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/closest-node-to-path-in-tree.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ class Solution3 {
289289
};
290290
};
291291

292-
// Time: O(n^2 + q * l)
292+
// Time: O(n^2 + q * n)
293293
// Space: O(n^2)
294294
// bfs
295295
class Solution4 {

0 commit comments

Comments
 (0)