Yandex interview question

Structures, vectors, lists, and e.t.c