Skip to content

Commit 5e775ca

Browse files
authored
Update maximum-xor-of-two-non-overlapping-subtrees.py
1 parent 7faa8dd commit 5e775ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Python/maximum-xor-of-two-non-overlapping-subtrees.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Time: O(nlogr), r is sum(values)
22
# Space: O(n)
33

4-
# iterative dfs, trie
4+
# iterative dfs, trie, greedy
55
class Trie(object):
66
def __init__(self, bit_length):
77
self.__root = {}
@@ -86,7 +86,7 @@ def iter_dfs2():
8686

8787
# Time: O(nlogr), r is sum(values)
8888
# Space: O(n)
89-
# dfs, trie
89+
# dfs, trie, greedy
9090
class Trie(object):
9191
def __init__(self, bit_length):
9292
self.__root = {}

0 commit comments

Comments
 (0)