Pregunta de entrevista de LinkedIn

The question was on array and binary sort