static void Main(string[] args) { Dictionary <int, List <int> > input = GraphHelper.Parse(@".\input.txt"); Graph graph = new Graph(input); graph.BFS(); graph.PrintTree(); }
static void Main(string[] args) { int[,] input = GraphHelper.Parse(@".\input.txt"); Graph graph = new Graph(input); graph.BFS(); graph.PrintTree(); }