Skip to content

Commit 228b396

Browse files
authored
Update kth-ancestor-of-a-tree-node.py
1 parent a2891ef commit 228b396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/kth-ancestor-of-a-tree-node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# get: O(logh)
33
# Space: O(n * logh)
44

5-
# binary jump solution (frequently seen in contest programming)
5+
# binary jump solution (frequently seen in competitive programming)
66
# Template:
77
# https://github.com/kamyu104/FacebookHackerCup-2019/blob/master/Final%20Round/little_boat_on_the_sea.py
88
class TreeAncestor(object):

0 commit comments

Comments
 (0)