Question d’entretien chez MLabs

Define and write binary search algorithm. And implement a function that transforms a string in many different ways.