Glue Labs interview question

They asked the coding questions based on Tree and graph.