Bloomberg interview question

Longest non repeating substring LC medium