Siemens interview question

OOP / problem solving (pseudo code)