Microsoft interview question

Longest Substring Without Repeating Characters from Leetcode No. 3