Consider a linked list that stores items in objects of the f…
Consider a linked list that stores items in objects of the following Node class: class Node{ int data; Node next; Node(int data, Node next){ this.data = data; this.next = next; }} Assuming that Node head specifies the first node of the linked list, which of the following choices adds int value at index k of the linked list?
Read Details