Pregunta de entrevista de Nextdoor

some basic technical questions, one hash counting, two DFS.