Comviva interview question

Longest Substring Without Repeating Characters coding