Microsoft interview question

Q. Trees, graphs, dp, arrays