Friday, May 13, 2011

Nodes and Linked Lists

After completing the sorting assignments, we were given a lesson on nodes and linked lists today. The Powerpoint was quite long but writing it by hand helps in remembering the information. Nodes link to more nodes. The lesson seems confusing at first but it involves using Objects and sorting once again. This was for the advanced crew however the rest of the class continued to work on their bubble sort of their items array. Each node knows its datum and the “next” link which connects to the next node. We were given an assignment for the node class to complete the code using the documentation of implementing constructors, accessors and mutators. I didn't know how to start but once I did, it was easy.

No comments:

Post a Comment