Infosys interview question

Longest Substring Without Repeating Characters