Mark As Completed Discussion

Let's test your knowledge. Is this statement true or false?

Adding a new node to a linked list involves creating a new node with the desired data. This node becomes the head of the list if the list is empty. If the list is not empty, the new node is inserted at the end of the list by setting the next pointer of the last node to point to the new node.

Solution: true

Press true if you believe the statement is correct, or false otherwise.