Microsoft interview question

Coding, tree and graph related algorithms.