Microsoft Interview Question

Q. Trees, graphs, dp, arrays