We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4636fda commit 57f9260Copy full SHA for 57f9260
Python/closest-node-to-path-in-tree.py
@@ -1,5 +1,5 @@
1
# Time: O(n + q)
2
-# Space: O(n)
+# Space: O(n + q)
3
4
import collections
5
from functools import partial
0 commit comments