Given a string, find the length of the longest substring that does not contain any repeating characters.
Click Run to execute sample tests.