...

/

DIY: Longest Substring without Repeating Characters

DIY: Longest Substring without Repeating Characters

Solve the interview question "Longest Substring without Repeating Characters" in this lesson.

Problem statement

In this coding example, you are given a string strr. Your task is to find the longest substring without repeating characters. You also have to return the length of this longest substring.

Note: ...