Yandex interview question

Standard algorithmic (heap, binary search) and Java (implement an iterator) questions