Assignment 9
- Write a flatten function that takes
the +animals+ tree as input and returns a flat list of
child-parent pairs: ((canine top) (domestic-canine canine) etc.).
The order of the elements in the output list doesn't matter.
Click here for the +animals+ tree and
some useful functions. Notice the way that I broke the
closest-common-ancestor function up into pieces!
- Touretzky: 9.1, 9.4, 9.7, 9.10
- Read ahead through Chapter 10
- Optionally, take an advance look at Assignment 10.
Please remember to keep track of how much time you spend on
the assignment. Thanks!