comefrom: <garvit244>116_1.py
code: def recursive(node):
      if node is None:
          return
      
      if node.left:
          node.left.next = node.right
      if node.right:
          if node.next:
              node.right.next = node.next.left
          else:
              node.right.next  = None
      recursive(node.left)
      recursive(node.right)
masked: def sample_funcname ( var_1 ) :
      if var_1 is None :
          return
      if var_1.left :
          var_1.left.next = var_1.right
      if var_1.right :
          if var_1.next :
              var_1.right.next = var_1.next.left
          else :
              var_1.right.next = None
      var_0 ( var_1.left )
      var_0 ( var_1.right )
  