摘要:
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure. 阅读全文
摘要:
Given two binary trees, write a function to check if they are equal or not. 阅读全文
摘要:
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). 阅读全文