Microsoft interview question

Graph Traversal, printing roots in order