comefrom: <gouthampradhan>two_pointers_LongestSubstringWitoutRepeats_1.java
code: private int lengthOfLongestSubstring(String s) {
      if (s == null || s.isEmpty()) return 0;
      Map<Character, Integer> map = new HashMap<>();
      int i = 0, max = Integer.MIN_VALUE;
      for (int j = 0, l = s.length(); j < l; j++) {
        if (map.keySet().contains(s.charAt(j))) {
          i = Math.max(map.get(s.charAt(j)) + 1, i);
        }
        map.put(s.charAt(j), j);
        max = Math.max(max, (j - i) + 1);
      }
      return max;
    }
masked: private int sample_funcname ( String var_1 ) {
    if ( var_1 == null || var_1 . isEmpty ( ) ) return 0 ;
    Map < Character , Integer > var_9 = new HashMap < > ( ) ;
    int var_10 = 0 , max = Integer . MIN_VALUE ;
    for ( int var_13 = 0 , var_15 = var_1 . length ( ) ;
    var_13 < var_15 ;
    var_13 ++ ) {
      if ( var_9 . keySet ( ) . contains ( var_1 . charAt ( var_13 ) ) ) {
        var_10 = Math . max ( var_9 . get ( var_1 . charAt ( var_13 ) ) + 1 , var_10 ) ;
      }
      var_9 . put ( var_1 . charAt ( var_13 ) , var_13 ) ;
      max = Math . max ( max , ( var_13 - var_10 ) + 1 ) ;
    }
    return max ;
  }
  