Exemple #1
0
        static void SumPath()
        {
            var obj   = new CareerCupQnA();
            var treeO = new TreesNGraph();

            obj.SumPath(treeO.PopulateBinarySTree(), 28);
        }
Exemple #2
0
        static void CheckBST()
        {
            var obj        = new CareerCupQnA();
            var obj1       = new TreesNGraph();
            var binaryTree = obj1.PopulateBinarySTree();

            Console.WriteLine("InOrder Starts");
            Console.WriteLine(obj.CheckBST(binaryTree));
        }