@@ -0,0 +1,437 @@
+class Solution:%0A    # @param root, a tree node%0A    # @return nothing, do it in place%0A    def flatten(self, root):%0A        if root == None:%0A            return%0A        self.flatten(root.left)%0A        self.flatten(root.right)%0A        p = root%0A        if p.left == None:%0A            return%0A        p = p.left%0A        while p.right:%0A            p = p.right%0A        p.right = root.right%0A        root.right = root.left%0A        root.left = None%0A

Create FlattenBinTree2Llist_001.py