Lesson 3 Flashcards
_______ is a sequence of data structures, which are connected together via links. It is a sequence of links which contains items. Each link contains a connection to another link. This is the second most-used data structure after array.
Linked List
Each link of a linked list can store a data called an _______.
Link
Each link of a linked list contains a link to the next link called _______.
Next
A _________ contains the connection link to the first link called First.
Linked List
True or false:
Linked List contains a link element called first.
True
True or False:
Each link carries a data field(s) and a link field called next.
True
True or False:
Each link is linked with its next link using its next link.
True
True or False:
Last link carries a link as null to mark the end of the list.
True
______ can be visualized as a chain of nodes, where every node points to the next node
Linked list
Item navigation is forward only.
Simple Linked List
Items can be navigated forward and backward.
Doubly Linked List
Last item contains link of the first element as next and the first element has a link to the last element as previous.
Circular Linked List
Basic Operations supported by a list:
Adds an element at the beginning of the list.
Insertion
Basic Operations supported by a list:
Deletes an element at the beginning of the list.
Deletion
Basic Operations supported by a list:
Displays the complete list.
Display