会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
tonyniu8
随笔档案-2020年11月
144. Binary Tree Preorder Traversal
2020-11-18 23:20 by tonyniu8, 79 阅读,
收藏
,
摘要: 1.判空。 2.把root 放到stack 中 3.当stack 不为empty时,pop 当visiting 不为空,push right push left.
阅读全文
0 Comment
About