Siemens interview question

Observer design pattern