Beispiel #1
0
        public Q993(string[] strs, int x, int y)
        {
            TreeNode BTree = new Q104(strs).BTree;

            isCousins = IsCousins(BTree, x, y);
        }
Beispiel #2
0
        public Q124(string[] strs)
        {
            TreeNode BTree = new Q104(strs).BTree;

            maxPathSum = MaxPathSum(BTree);
        }