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