Siemens Interview Question

oops data structures puzzles algorithms question from resume