会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
现在开始努力
博客园
首页
新随笔
联系
订阅
管理
2022年2月11日
第28天--算法(Leetcode 116,118,121,122,123)
摘要: 116.填充每个节点的下一个右侧节点 public Node connect(Node root) { if(root == null) { return null; } MyQueue myQueue = new MyQueue(); myQueue.add(root); while(!myQue
阅读全文
posted @ 2022-02-11 16:54 现在开始努力
阅读(33)
评论(0)
推荐(0)
公告