在一个双链表中,在*p节点之前插入节点*q的操作是( )。
A.
p -> prior ->next=q;q-> next=p;q -> prior = p->prior;p -> prior = q;
B.
p -> prior = q;q-> next=p;p -> prior ->next=q; q ->prior= p -> prior;
C.
q ->prior= p -> prior;p -> prior ->next=q;q-> next=p;p -> prior = q->next;
D.
q-> next=p;p -> next=q;q-> prior ->next= q;q-> next=p;