请在 下方输入 要搜索的题目:

在双链表中向p 所指的结点之前插入一个结点q 的操作为( )。


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;q->prior->next=q;q->next=p;
D、p->prior->next=q; q->next=p;q->prior=p->prior;p->prior=q;

发布时间:2025-06-28 23:22:39
推荐参考答案 ( 由 快搜搜题库 官方老师解答 )
联系客服
答案:p->prior->next=q; q->next=p;q->prior=p->prior;p->prior=q;
专业技术学习
专业技术学习
搜搜题库系统