//main method public void Run() { DataFeeder feed = new DataFeeder(); CheckBalanced(feed.GetUnbalancedTree()); }
//main method public void Run() { DataFeeder feed = new DataFeeder(); //A>B>C>E>F; E>D>B bool canRoute = RouteDFS("A", "D", feed.GetSampleGraph1()); Console.WriteLine("can routed: {0}", canRoute); }