Pergunta de entrevista da empresa Microsoft

It was hard leeetcode Binary Search problem