Revolut Interview Question

Specific questions around a task