python只过了75%,原因是内存占用过多。。。 抛砖引玉~ class TrieNode: def __init__(self,num): self.num = num self.children = [] class Solution: def __init__(self): self.max_path = 0 def find_max_path(self,matrix): if not matrix:return 0 root = None my_dict...