day16 104,222
摘要:
###104. 二叉树的最大深度 class Solution { //层序遍历 public int maxDepth(TreeNode root) { if(root==null){ return 0; } Queue<TreeNode> que=new LinkedList<>(); que. 阅读全文
posted @ 2022-10-08 11:39 你是千堆雪我是长街7 阅读(10) 评论(0) 推荐(0)
浙公网安备 33010602011771号