Binary Decision Tree
- Relate the process of any comparison-based algorithm to a decision tree.
Here is a schematic representation of a decision tree corresponding to a comparison-based algorithm based on successive answers to yes/no questions (binary comparisons).

Exercise Draw a decision tree for performing linear search given a target value over the unordered array .
Solution

Exercise Draw a decision tree for performing binary search given a target value over the sorted array .
Solution

Exercise Draw a decision tree for performing a generic comparison-based sort algorithm to sort the array .
Solution
