摘要:
/// /// 求一棵二叉树中相距最远的两个节点之间的最大距离 /// public class BinaryTreeMaxLength { public static void Do() { //创建二叉树 Node head = CreateTree(); //显示 Console.WriteLine(LevelOrderTraversal(head)); int maxDistance = 0; G... 阅读全文
s0705130