[LeetCode] 99. Recover Binary Search Tree 恢复二叉搜索树

Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Example 1: Input: [1,3,null,null,2
posted @ 2015-02-23 15:13  Grandyang  阅读(22491)  评论(8)    收藏  举报
Fork me on GitHub