コード例 #1
0
ファイル: Program.cs プロジェクト: xenon-92/Coding-Problem
        static void Main(string[] args)
        {
            Solution s   = new Solution();
            var      res = s.P7(TestSolution.DesignBT4());

            PrintInorder(res);
        }
コード例 #2
0
        static void Main(string[] args)
        {
            Solution s = new Solution();
            // TreeNode x = new TreeNode(1);
            // x.left = new TreeNode(2);
            var res = s.DeleteinBT(TestSolution.DesignBT1(), 2);

            BFS_Print(res);
        }