Tuesday, February 18, 2014

Week 6: Trees

This week we learned about trees and their terminology. This kind of Abstract Data Type was one of the most interesting ones that we have dealt with so far. Being able to recursively use one procedure on every node in a tree is a really useful method to deal with the entire tree. I also really enjoyed the different type of traversals that we did in class. At first, I didn't know what traversing through a tree means, but after research a bit more about it and re-reading the posted codes, I saw that it is just going through every element of a tree in a certain way and that was when I really got what was happening in in-order, pre-order and post-order traversals. I also finished Assignment 1 which was actually harder that what expected after doing some parts of it. I had never worked with this many different files which all work together at once, and I can say that was a bit of a struggle for me but I manage to work it out by re-reading the codes over and over and also talking to Danny. The main disappointment for me was not being able to figure out the bonus function, but other than that, I have a strong feeling that the rest were fine.

No comments:

Post a Comment