Linked List II Summary
Linked list is a process or a way that enables us to easily edit an array without using looping (e.g for) to count from zero to the point where we want to edit the data (also shifting is needed when editing an array). So far, we have learned about two types of linked list. Doubly and single linked list, the first one is the circular single linked list. In circular single linked list, the last node contains a pointer to the first node which can help determine whether the data is located in the middle or in the end and also there is no storing of NULL value in the list. Secondly there is double linked list, which is a two way linked list that points to the nest data while also pointing to the previous data. Thirdly there is circular doubly linked list which is very similar to the single linked list but differ on the amount of pointer in each node (2). Just as I stated above, linked list gives us the ability to edit an array far more efficient rather than using a looping process. The reason to this is because there are processes within the linked list that enables us to do so such as Inserting and deleting certain values.
Comments
Post a Comment