Question: (1) Assume some Node class with info & link fields. Complete this method in class List that returns a reference to the node containing the

 (1) Assume some Node class with info \& link fields. Complete
this method in class List that returns a reference to the node

(1) Assume some Node class with info \& link fields. Complete this method in class List that returns a reference to the node containing the data item in the argument findthis. Assume that find This is in the list public class List \{protected Node head; protected int size; public Node find (char findThis) (2) Given the followinglinked list where each node has a data \& link field \& uses the pointers sbi,p2,p3,p Draw a similar diagram to show how this fontiguration changes when the given segment of code executes. A Assume each part is independent from the other, a) p3=p2; p4.link=p2.link; b) p3olink = pa. link; pr. link = pi.link; p4. link = p3. link; c) pa. link=p3; pl. link. link =p1; pl. link, link = pr. link; p4= nulli p2=p4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!