leetcode 114:二叉树展开为链表

二叉树的题,使用递归的方式 TreeNode *last(TreeNode*root){ while(root->right!=NULL){ root=root->right; } return root; } TreeNode *fla(TreeNode *root){ if(root==NULL) return NUL
相关文章
相关标签/搜索