Comviva Interview Question

Longest Substring Without Repeating Characters coding