<garvit244>03_1.py
def lengthOfLongestSubstring( s):
    mapSet = {}
    start, result = 0, 0
    
    for end in range(len(s)):
        if s[end] in mapSet:
            start = max(mapSet[s[end]], start)
        result = max(result, end-start+1)
        mapSet[s[end]] = end+1
    
    return result
def sample_funcname ( var_0 ) :
    var_1 = { }
    var_3 , var_4 = 0 , 0
    for var_7 in range ( len ( var_0 ) ) :
        if var_0 [ var_7 ] in var_1 :
            var_3 = max ( var_1 [ var_0 [ var_7 ] ] , var_3 )
        var_4 = max ( var_4 , var_7 - var_3 + 1 )
        var_1 [ var_0 [ var_7 ] ] = var_7 + 1
    return var_4
