# Leetcode 3 - Longest substring without repeating chars

Note:

• Use doule pointer.
• While next char is not in cur substring, move right by 1.
• When next char is included, move left to j + 1 where j is the repeating char inside substring.

Question:

Given a string s, find the length of the longest substring without repeating characters.

Example:

Code: