Pregunta de entrevista de Bluespire

twosum problem to code. time complexities. oops