Siemens interview question

Puzzles