Pergunta de entrevista da empresa Vannevar Labs

Algo question where the emphasis was on getting to an O(1) solution using CoderPad.