Google interview question

dsa questions based on tree, graph, array