Question d’entretien chez Yandex

Algorithmic questions. Some were identical to leetcode ones.