Revolut interview question

A lot about multithreading and problems around it.