Longest Substring Without Repeating Characters

Try:
CALL
1 / 1

Code

The highlighted line runs next. The pill shows the live values in the running call.

Cost

Work done so far, and how the three solutions compare

The string

Tinted cells are the current window

Keyboard: ← → step, Space play or pause. Up to 20 printable ASCII characters (an empty string is allowed); surrounding double quotes are removed and spaces are drawn as ␣. Characters are case-sensitive, so "a" and "A" are different.