Revolut Interview Question

Different OOP design principles.