Module 3: Linked List and Queue Flashcards
It is a sequence of data structures, which are connected together via links
Linked List
True or false: Each link contains a connection to another link
True
What is the second most-used data structure after array?
Linked List
What stores data or elements in a linked list?
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
What is being described:
1. Contains a link element called First
2. Carries data fields and a link field called next
3. Link is linked with its next link using its next link
4. Last link carries a link as null to mark the end of the list
Linked list
What are the different types of linked list?
Simple Linked List
Doubly Linked List
Circular 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
What are the basic operations supported by a linked list?
Insertion, Deletion, Display, Search, Delete
Adds an element at the beginning of the list
Insertion
Deletes an element at the beginning of the list
Deletion
Displays the complete list
Display