随笔分类 -  ACM /

摘要:题目链接:二叉树深度 思路 存储二叉树的各个节点并递归搜索二叉树深度。 题解 #include <bits/stdc++.h> using namespace std; #define ll long long const int N = 1e5 + 10; struct binary { int 阅读全文
posted @ 2024-06-13 15:36 薛定谔的AC 阅读(51) 评论(0) 推荐(0)