求求啦,来个offer吧
求求啦,来个offer吧
全部文章
分类
题解(7)
归档
标签
去牛客网
登录
/
注册
求求啦,来个offer吧的博客
全部文章
(共2篇)
题解 | #按之字形顺序打印二叉树#
题解:二叉树的中序遍历 public class Solution { TreeNode res = null; int count=0; TreeNode KthNode(TreeNode pRoot, int k) { if(pRoot==null||k...
Java
二叉树
2021-11-04
0
254
题解 | #按之字形顺序打印二叉树#
题解:层序遍历 + 双端队列 import java.util.*; public class Solution { public ArrayList<ArrayList<Integer> > Print(TreeNode pRoot) { Arra...
Java
二叉树
2021-11-04
1
228