这题提示给的很好, 直接一气呵成 O1空间解决, 一次accept 开心..!!
中英双语解释在此; 这里懒得再写一遍了, 各位麻烦移步
https://leetcode.com/problems/recover-binary-search-tree/discuss/149509/32ms-beat-100-cpp-solution-and-only-15-line-code-with-explanation
这题提示给的很好, 直接一气呵成 O1空间解决, 一次accept 开心..!!
中英双语解释在此; 这里懒得再写一遍了, 各位麻烦移步
https://leetcode.com/problems/recover-binary-search-tree/discuss/149509/32ms-beat-100-cpp-solution-and-only-15-line-code-with-explanation