![]() |
|
![]() |
Introduction: In this brief section, we are introduced to a systematic method for finding solutions to problems using trees.
| Backtracking Breadth-first search |
Depth-first search
Inorder traversal Postorder traversal |
Preorder traversal
Pruning |
1. Know when it is appropriate to choose breadth-first and when depth-first searches. Be able to explain why we would not want to use just one type all the time.
2. Study the examples carefully to get an idea of the variety of problems that this method applies to.