Siemens interview question

Technical questions.