comefrom: <garvit244>143_1.py
code: def reorderList( head):
      if not head:
          return None
      
      slow, fast = head, head.next
      
      while fast and fast.next:
          slow = slow.next
          fast = fast.next.next
      
      head1, head2 = head, slow.next
      slow.next = None
      prev = None
      curr = head2
      while curr:
          nex = curr.next
          curr.next = prev
          prev  = curr
          curr = nex
      head2 = prev
      
      while head2:
          n1 = head1.next
          n2 = head2.next
          head1.next = head2
          head1.next.next = n1
          head2 = n2
          head1 = head1.next.next
      
      head = head1
masked: def sample_funcname ( var_0 ) :
      if not var_0 :
          return None
      var_2 , var_4 = var_0 , var_0.next
      while var_4 and var_4.next :
          var_2 = var_2.next
          var_4 = var_4.next.next
      var_5 , var_6 = var_0 , var_2.next
      var_2.next = None
      var_7 = None
      var_8 = var_6
      while var_8 :
          var_9 = var_8.next
          var_8.next = var_7
          var_7 = var_8
          var_8 = var_9
      var_6 = var_7
      while var_6 :
          var_10 = var_5.next
          var_11 = var_6.next
          var_5.next = var_6
          var_5.next.next = var_10
          var_6 = var_11
          var_5 = var_5.next.next
      var_0 = var_5
  