📈
notes
Search...
Ctrl + K
0099_Recover_Binary_Search_Tree
思路1 中序遍历记录错误节点
思路1 用递归形式的中序遍历。空间复杂度是O(H),H是树的高度。最坏情况退化为O(N)
Previous
0099_Recover_Binary_Search_Tree
Next
0100_Same_Tree
Last updated
3 years ago