private void CreateListFromTreeTest(TextbookLinkedListFromTreeCreator <int> linkedListFromTreeCreator)
        {
            int[]                arr         = CreateArray();
            IMinimalTree         minimalTree = new MyMinimalTree();
            BinaryTreeNode <int> node        = minimalTree.CreateMinimalTree(arr);
            var treeListNode = linkedListFromTreeCreator.CreateLinkedListFromBinaryTree(node);

            ValidateList(treeListNode, arr);
        }
        private BinaryTreeNode <int> BuildBalancedBinaryTree()
        {
            MyMinimalTree myMinimalTree = new MyMinimalTree();

            int[] arr = new int[] { 3, 4, 6, 8, 10 };
            BinaryTreeNode <int> root = myMinimalTree.CreateMinimalTree(arr);

            return(root);
        }