Pergunta de entrevista da empresa Bluespire

twosum problem to code. time complexities. oops