NOTE : ' in ' operation in dictionary to search key takes O ( 1 ) . Look if current sum is seen before
if curr_sum in hash_map : NEW_LINE INDENT max_len = max ( max_len , i - hash_map [ curr_sum ] ) NEW_LINE DEDENT