Yandex interview question

Signed an Nda. Typical data structures related programming questions.