MSCI Interview Question

1)find longest substring without repeating character 2)design chess