Microsoft interview question

Trees, Graphs, ...