All questions

Intermediate · JavaScript · Strings

Longest substring without repeating characters

Commonly asked: Classic product-company question, also common for SDET II · ~15 min

Write longestUnique(s) returning the length of the longest substring with no repeated characters.

Checking your membership…