Pergunta de entrevista da empresa SpaceX

Find a missing number in a sequentially ordered list Follow-up: do it on an unordered list

Resposta da entrevista

Sigiloso

10 de abr. de 2023

Use binary search for the first question. Follow up: maintain a dictionary and store whether the item was in the array for all items.