Question d’entretien chez Yandex

Algorithm questions, binary search time and space complexity