ASML interview question

Asked to implement a datastructure in C++