Longest Substring Without Repeating Characters

Medium

📝 Description

Find length of longest substring without repeating characters

Input Format

s (string)

Output Format

integer

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