Infosys Interview Question

longest substring without repeating characters