comefrom: <garvit244>287_1.py
code: def findDuplicate( nums):
      slow, fast = nums[0], nums[0]
      while True:
          slow = nums[slow]
          fast = nums[nums[fast]]
          if slow == fast:
              break
      
      num1= nums[0]
      num2 = slow
      while num1 != num2:
          num1 = nums[num1]
          num2 = nums[num2]
      return num2
masked: def sample_funcname ( var_0 ) :
      var_2 , var_3 = var_0 [ 0 ] , var_0 [ 0 ]
      while True :
          var_2 = var_0 [ var_2 ]
          var_3 = var_0 [ var_0 [ var_3 ] ]
          if var_2 == var_3 :
              break
      var_5 = var_0 [ 0 ]
      var_6 = var_2
      while var_5 != var_6 :
          var_5 = var_0 [ var_5 ]
          var_6 = var_0 [ var_6 ]
      return var_6
  