@@ -0,0 +1,761 @@
+public class _0114FlattenBinaryTreeToLinkedList %7B%0A  public void flatten(TreeNode root) %7B%0A    if (root != null) %7B%0A      merge(root);%0A    %7D%0A  %7D%0A%0A  private TreeNode merge(TreeNode node) %7B%0A    TreeNode left = node.left;%0A    TreeNode right = node.right;%0A    node.left = null;%0A    if (left != null) %7B%0A      node.right = left;%0A      node = merge(left);%0A    %7D%0A    if (right != null) %7B%0A      node.right = right;%0A      node = merge(right);%0A    %7D%0A    return node;%0A  %7D%0A%0A  public class TreeNode %7B%0A      int val;%0A      TreeNode left;%0A      TreeNode right;%0A      TreeNode() %7B%7D%0A      TreeNode(int val) %7B this.val = val; %7D%0A      TreeNode(int val, TreeNode left, TreeNode right) %7B%0A          this.val = val;%0A          this.left = left;%0A          this.right = right;%0A      %7D%0A  %7D%0A%7D%0A

Add _0114FlattenBinaryTreeToLinkedList