Revolut interview question

Cash deposit case assignment to present back the solution