Skip to content

Commit 4636fda

Browse files
authored
Update closest-node-to-path-in-tree.cpp
1 parent ab674f5 commit 4636fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Time: O(n + q)
2-
// Space: O(n)
2+
// Space: O(n + q)
33

44
// Tarjan's Offline LCA Algorithm
55
class Solution {

0 commit comments

Comments
 (0)