2.8k views
2 votes
The addElement operation for the linked implementation must determine the parent of the next node to be inserted. Why?

1 Answer

1 vote

Step-by-step explanation:

The addElement operation as the name suggests insert an element in the respective data structure.

The addElement operation have to determine the parent for the linked implementation of the node to be inserted so we can set the child pointer of that node to a new node.Since we are inserting an element in the data structure and there is already links are present between the nodes.

User Cayne
by
5.1k points