comefrom: <doocs>1047.Remove All Adjacent Duplicates In String_1.py
code: def removeDuplicates( s: str) -> str:
      stk = []
      for c in s:
          if stk and stk[-1] == c:
              stk.pop()
          else:
              stk.append(c)
      return ''.join(stk)
masked: def sample_funcname ( var_0 : str ) -> str :
      var_2 = [ ]
      for var_3 in var_0 :
          if var_2 and var_2 [ - 1 ] == var_3 :
              var_2.pop ( )
          else :
              var_2.append ( var_3 )
      return ''.join ( var_2 )
  