Revolut interview question

Specific questions around a task