Pregunta de entrevista de Google

In-person technical interview problem involved clever usage of hashmaps and hashsets.