Pergunta de entrevista da empresa FactSet

Find bugs in the code and fix them. optimize code where you can. introduce multi threading into the program