Revolut Interview Question

case study quite hard to check how you solve a problem