Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Name Regarding a node in a singly Linked List, list and describe each of the fie

ID: 3909082 • Letter: N

Question

Name Regarding a node in a singly Linked List, list and describe each of the fields in a node [I'm not looking for the methods meaning not getbatel), I'm looking for the fields-like data ] 1. head- address pointing to the next node tail- address pointing to the previous node data - data contained within the node Regarding a collection class for a singly Linked List, list and describe each of the fields in the collection class. 2. I I'm not looking for the methods meaning not add), I'm looking for the fields-like numElements

Explanation / Answer

Node:

data - This holds the data part of the node
link - This will point to the next node in the list

Collection class

   numElements : number of elements in the list
   start - storing the start of the list
   end - storing the end of the list