IMC Trading interview question

1. longest substring. 2. elevator test. 3. how many countries in a matrix