Describe the two parts of a node.
What is a list head?
What signifies the end of a linked list?
What is the difference between appending a node to a list and inserting a node into a list?
Which is easier to code: appending or inserting?
What are some of the advantages that linked lists have over arrays and vectors?
Describe the two parts of a node.
data part and pointer
What is a list head?
first node is a list head in linked list
What signifies the end of a linked list?
NULL
What is the difference between appending a node to a list and inserting a node into a list?
appending means a new node added at the end
inserting a node means adding a new node some other position like begining or middle
Which is easier to code: appending or inserting? append
What are some of the advantages that linked lists have over arrays and vectors?
insertion and deletion of data can perform in cost of O(1)
Get Answers For Free
Most questions answered within 1 hours.