洛谷 P4913 二叉树深度

题目链接:二叉树深度 思路 存储二叉树的各个节点并递归搜索二叉树深度。 题解 #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  阅读(17)  评论(0编辑  收藏  举报