ASML Interview Question

Asked to implement a datastructure in C++