Pergunta de entrevista da empresa NielsenIQ

Two sum problem and implement stack with a queue.