Revolut interview question

Technical task connected to work.