Pergunta de entrevista da empresa Revolut

Take a look on a code and fix all the possible issues with multithreading