会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Bockpecehhe
博客园
首页
新随笔
联系
订阅
管理
2018年10月14日
二叉树的遍历 我的
摘要: private static void preOrder(Node root){ if (root != null){ //先访问根节点 打印 然后左节点 右节点 System.out.print(root.val+"->"); preOrder(root.left); preOrder(root.
阅读全文
posted @ 2018-10-14 15:37 Bockpecehhe
阅读(117)
评论(0)
推荐(0)
公告