You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SyntaxError: invalid syntax
^
/*******后序遍历位置*******/
Line 22 (Solution.py)
AttributeError: 'Solution' object has no attribute 'traverse'
self.traverse(root)
Line 10 in maxSumBST (Solution.py)
ret = Solution().maxSumBST(param_1)
Line 62 in _driver (Solution.py)
_driver()
Line 73 in <module> (Solution.py)
你是否愿意提交 PR 修复这个 bug?
我愿意!
The text was updated successfully, but these errors were encountered:
请在提交 bug 之前先搜索
出错的题目链接
https://leetcode.cn/problems/maximum-sum-bst-in-binary-tree
报错信息
一共两个问题,一个是语法错误,python 不能使用 /后序遍历位置/这种块注释
另一个问题是找不到traverse函数,应该是findMaxMinSum函数
你是否愿意提交 PR 修复这个 bug?
The text was updated successfully, but these errors were encountered: