- Iterative 稍微难想点:先把最左边的add, pop() stack, 加上右边(如果存在); 下一个轮回,如果又左孩子,又是一顿加。 What if the BST is modified (insert/delete operations) often and you need to find the kth ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results