Example #1
0
 public static IEnumerable <T> GetBinaryTreeValues <T>(BinaryTree <T> tree)
 => GetElementsByTraverse(
     tree,
     t => new[] { t.Left, t.Right },
     t => new[] { t.Value });
        public static IEnumerable <T> GetBinaryTreeValues <T>(BinaryTree <T> root)
        {
            //var stack = new TreeTraversal<BinaryTree<T>>();

            throw new NotImplementedException();
        }