会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Keep Learning
博客园
首页
新随笔
联系
订阅
管理
2020年4月16日
111. Minimum Depth of Binary Tree
摘要: import java.util.* class Solution { fun minDepth(root: TreeNode?): Int { if (root == null) { return 0 } var depth = 0 //LinkedList实现了Queue接口,可以用作队列使用
阅读全文
posted @ 2020-04-16 14:43 johnny_zhao
阅读(186)
评论(0)
推荐(0)
编辑
公告