A.s -> next = p -> next; p -> next = s;
B.s -> next = q -> next; p -> next = s;
C.s -> next = q -> next; q -> next = s;
D.q -> next = s; s -> next = p;
第1题
A.删除 p 结点
B.删除 p 结点的直接前驱结点
C.删除 p 结点的直接后继结点
D.删除 p 结点及其所有后继结点
第2题
A.p -> next -> next
B.q
C.q -> next
D.q -> next -> next
E.p
第3题
A.p -> next -> next
B.q
C.q -> next
D.q -> next -> next
E.p
第4题
A.p->prior=q; q->next=p; p->prior->next=q; q->prior=p->prior;
B.q->prior=p->prior; p->prior->next=q; q->next=p; p->prior=q->next;
C.q->next=p; p->next=q; p->prior->next=q; q->next=p;
D.p->prior->next=q; q->next=p; q->prior=p->prior; p->prior=q;
E.q->prior=p->prior; q->next=p; q->prior->next=q;q->next->prior=q;
第5题
A.p->prior=q; q->next=p; p->prior->next=q; q->prior=p->prior;
B.q->prior=p->prior; p->prior->next=q; q->next=p; p->prior=q->next;
C.q->next=p; p->next=q; p->prior->next=q; q->next=p;
D.p->prior->next=q; q->next=p; q->prior=p->prior; p->prior=q;
E.q->prior=p->prior; q->next=p; q->prior->next=q;q->next->prior=q;
第6题
A.p->next=q; q->prior=p; p->next->prior=q; q->next=q;
B.p->next=q; p->next->prior=q; q->prior=p; q->next=p->next;
C.q->prior=p; q->next=p->next; p->next->prior=q; p->next=q;
D.q->prior=p; q->next=p->next; p->next=q; p->next->prior=q;
第7题
A.q=p->next; p->data=q->data; p->next=q->next; free(q);
B.q=p->next; q->data=p->data; p->next=q->next; free(q);
C.q=p->next; p->next=q->next; free(q);
D.q=p->next; p->data=q->data; free(q);
第8题
A.删除单链表中的第一个元素
B.删除单链表中的尾结点
C.在单链表第一个元素前插入一个新结点
D.在单链表最后一个元素后插入一个新结点
第9题
A.headB->next = p->next
B.p = headA->next
C.p->next = headA->next
D.p->next = headB->next
第10题
A.p->next=p->next->next;
B.p=p->next;p->next=p->next->next;
C.p =p->next;
D.p=p->next->next;
第11题
A.p->next=Head->next; Head->next=p;
B.p->next=Head; Head=p;
C.p->next=Head; p=Head;
D.Head=p;p->next=Head;
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!