Thursday, March 5, 2015

Week 8: Linked Lists

This week, we set aside recursion for a moment to give way to a new topic: Linked Lists! Basically, a linked list structure is made up of nodes that have a value and a reference to other nodes. The concept of objects (in this case nodes) pointing to other objects was very similar to how Trees worked.

In order to better understand how this data structure worked, I found it really helpful to draw out the nodes and arrows in the proper order. This technique was very helpful when I attempted to do the lab exercises. There were moments when I was really stuck, and drawing the picture bailed me out. By being able to see the linked list structure, I was able to figure out the right sequence in setting or resetting its attributes.

This week was also the first week that TAs went on strike. I understand where they are coming from, and I truly hope an agreement can be reached soon for the benefit of everyone.  

No comments:

Post a Comment