摘要:
/// /// 求一棵二叉树中相距最远的两个节点之间的最大距离 /// public class BinaryTreeMaxLength { public static void Do() { //创建二叉树 Node head = CreateTree(); //显示 Console.WriteLine(LevelOrderTraversal(head)); int maxDistance = 0; G... 阅读全文
posted @ 2013-11-01 14:34
豆沙包没有肉
阅读(318)
评论(0)
推荐(0)

浙公网安备 33010602011771号