Class Tree, BTNode and LinkedList were tested in midterm 2. As far as I'm concerned, the methods written in the test for BTNode and LinkedList were similar to what we wrote in the lab. As long as we understand the recursion and basic methods written in the classes, the methods for the test would be easily completed.
On the other hand, LinkedList would be the first class that we encountered with mutation.
![]() |
| LinkedList init |


No comments:
Post a Comment