Domanda di colloquio di Revolut

How to perform the concurrent updates of an array by multiple threads.