Pregunta de entrevista de CardConnect

Basic data structure time and space complexity.