摘要:
Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies in [L, R] (R >= L). You might 阅读全文
摘要:
递归的思路: 阅读全文
摘要:
反转一个数组: 其实STL中的vector有一个reverse函数便可以使用。 结果: 阅读全文
摘要:
结果: 阅读全文