Pregunta de entrevista de Dontnod

First problem on binary search Second on array rest mcq