Question d’entretien chez Syrmia

They asked me to write binary search algorithm