fengchi66

Results 4 comments of fengchi66

我用的1.8,timestamp,datatime都是空

114.二叉树展开为链表,求题解,官方的题解实在没有理解

比官方题解好懂: ``` // 递归函数:将二叉树展开为链表 public void flatten(TreeNode root) { // base case if (root == null) { return; } // 1.将左右子树展开为链表 flatten(root.left); flatten(root.right); // 先记住root的左右链表 TreeNode leftNode = root.left; TreeNode...