Fractal Interview Question

Longest substring without repeating character