Siemens interview question

Design Pattern and SOLID Principles