MSCI interview question

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