Monday, 9 March 2015
week 9
On top of the assignment, last week we started looking at our newest topic/ADT: Linked Lists. This is a type of list that has any number of topics inside of it, while also containing a reference to another list. This data type is sequential because of how to reach any point in the linked list, you have to go through each previous element. this can significantly increase the time it takes to find a single element within the ADT. That said, the layout for this data structure is very clear cut and is easy to change elements within the list.
While on the surface, the concept of a linked list is coming off as a lot easier than the code itself but its interesting. The concept of having a list reference another list resounds the use of having a Root or BTNode have another node as a child which creates a bit more complex structure than a linked list.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment