Pergunta de entrevista da empresa Bloomberg

1. use one pass to find the first unique character in a string