Amazon interview question

Graph algorithms, pre/in/post order traversals.