comefrom: <doocs>1629.Slowest Key_1.py
code: def slowestKey( releaseTimes: List[int], keysPressed: str) -> str:
      ans = keysPressed[0]
      mx = releaseTimes[0]
      for i in range(1, len(keysPressed)):
          d = releaseTimes[i] - releaseTimes[i - 1]
          if d > mx or (d == mx and ord(keysPressed[i]) > ord(ans)):
              mx = d
              ans = keysPressed[i]
      return ans
masked: def sample_funcname ( var_0 : List [ int ] , var_3 : str ) -> str :
      var_6 = var_3 [ 0 ]
      var_7 = var_0 [ 0 ]
      for var_11 in range ( 1 , len ( var_3 ) ) :
          var_12 = var_0 [ var_11 ] - var_0 [ var_11 - 1 ]
          if var_12 > var_7 or ( var_12 == var_7 and ord ( var_3 [ var_11 ] ) > ord ( var_6 ) ) :
              var_7 = var_12
              var_6 = var_3 [ var_11 ]
      return var_6
  