Pergunta de entrevista da empresa Arista Networks

There is a list with n numbers ordered. Find the missing number.

Resposta da entrevista

Sigiloso

28 de jul. de 2017

I first talk about the dummy answer, which would be to use a for loop and check every numbers. And then I propose to use a dichotomy algorithm.

1