AUTO1 Group interview question

Solid principle