EMIS Group interview question

Solid Principles