Siemens interview question

Nothing complicated