码迷,mamicode.com
首页 >  
搜索关键字:修复二叉树    ( 1个结果
leetcode 之 Recover Binary Search Tree
Recover Binary Search Tree Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note: A solution using O(n) space is pretty s...
分类:其他好文   时间:2014-08-15 19:39:39    阅读次数:222
1条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!