Revolut interview question

Typical consulting case, brainteasers as well