(Choose 1 answer)
list (i.e. p.info=13):
Suppose a doubly linked list of integers is given below and p is a reference to the node with value 13 in the
(head) 7 11 6 4 32 13 8 2 (tail)
What does the list look like after the following java code snippet is run?
int x = 17;
Node q = new Node(x);
q.prev=null;
q.next = head;
head.prev = q;
head = q;
A. 7 11 6 4 32 13 8 2 17
B. 7 11 6 4 32 13 8 17 2
C. 7 11 6 4 32 13 17 82
D. 7 17 11 6 4 32 13 82
E. 17 7 11 6 4 32 13 82
Exit 24