Question d’entretien chez Yandex

Tree traversal,zigzag iterator, merging intervals, perfect square