Solved longest_substring_without_repeating_char.