Pergunta de entrevista da empresa Align Technology

easy math task about binary search