NielsenIQ Interview Question

Two sum problem and implement stack with a queue.