Siemens interview question

oops data structures puzzles algorithms question from resume