mmanchev23_it-career/09. Algorithms and Data Structures (Advanced)/05. Trees/Solutions/Tree/Program.cs
using System;

namespace Tree
{
    class Program
    {
        static void Main(string[] args)
        {
            Tree<int> tree =
                new Tree<int>(7,
                new Tree<int>(19,
                new Tree<int>(1),
                new Tree<int>(12),
                new Tree<int>(31)),
                new Tree<int>(21),
                new Tree<int>(14,
                new Tree<int>(23),
                new Tree<int>(6))
                );

            Console.WriteLine("Breadth-First Search (BFS)");
            tree.PrintBFS();

            Console.WriteLine("\n\nDepth-First Search (DFS)");
            tree.PrintDFS();

            Console.WriteLine();
        }
    }
}
