Pregunta de entrevista de Glue Labs

They asked the coding questions based on Tree and graph.