Esempio n. 1
0
        static void Main(string[] args)
        {
            TreeNode node = new TreeNode();
            TreeNode root = node.CreateBinaryTree();

            Practice.MaxHeight mh = new Practice.MaxHeight();
            int height            = mh.FindMaxHeight(root);

            Console.WriteLine("{0}", height);
            //CountLeafNodes count = new CountLeafNodes();
            //int c = count.TotalLeafNodes(node.CreateBinaryTree());
        }