CodeOath
← All problems

Longest Substring Without Repeating Characters

Medium
stringssliding-window

Find the length of the longest substring without repeating characters.

Example:

Input: s = "pwwkew"
Output: 3  // "wke"