Data structures samples in C++