Revolut interview question

SOLID principles