Tree/Graph Traversal Flashcards
1
Q
What is the sequence for Inorder?
A
Left, Root, Right
2
Q
What is the sequence for Preorder?
A
Root, Left, Right
3
Q
What is the sequence for Postorder?
A
Left, Right, Root
A-Level Computing OCR > Tree/Graph Traversal > Flashcards
What is the sequence for Inorder?
Left, Root, Right
What is the sequence for Preorder?
Root, Left, Right
What is the sequence for Postorder?
Left, Right, Root
A-Level Computing OCR (52 decks)