IMC Trading Interview Question

longest substring that is valid password