Longest Substring Without Repeats

Medium

📝 Description

Find length of longest substring without repeating characters

Input Format

A string

Output Format

Integer length

Constraints

0 ≤ s.length ≤ 5 * 10^4

🔍 Sample Input

abcabcbb
            

✅ Sample Output

3
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run