Agoda interview question

SOLID principles