Siemens interview question

Complexity of a special data structure