Tuesday, March 4, 2014

Week 6

Right before the break, we were introduced to trees. I was actually sick this week and could not go to lecture so I was terrified I wouldn't catch up or understand as well by having to learn it on my own. Fortunately, I found this material very easy and self-explanatory. I definitely find this area of computer science very interesting.

We focused on tree terminology and explored them more based on a representation of trees rather than an actual Tree class code. I found this a little more challenging to try to see what the code was doing and how to trace it. We looked at pre-order, in-order and post-order traversal and their corresponding codes. This I found to be much easier to understand and actually hope to do more of this in the future. We also looked over different methods commonly found in Tree classes such as height, arity, number of leaves.

No comments:

Post a Comment