Pregunta de entrevista de Snap

Basic algorithm problems like bfs and hash table.