Best Data Structure for this in C++

Printable View