摘要: "LeetCode 145" 阅读全文
posted @ 2018-11-27 11:58 Shendu.CC 阅读(100) 评论(2) 推荐(0) 编辑
摘要: "LeetCode 144 " 题目的意思就是不用递归的方法输出先序遍历 其实递归本质上是在利用栈的性质,每次递归都是将一个函数压入栈中。 所以我们可以用循环和栈模拟递归 阅读全文
posted @ 2018-11-27 11:56 Shendu.CC 阅读(113) 评论(2) 推荐(1) 编辑