Robert Bosch interview question

Design pattern