Revolut interview question

On the spot case study and workings