在双向链表结点p之前插入结点q的操作是( )。
A、p->prior = q; q->next = p; p->prior->next = q; q->prior = q;;
B、p->prior = q; p->prior->next = q; q->next = p; q->prior = p->prior;;
C、q->next = p; q->prior = p->prior; p->prior->next = q; p->prior = q;;
D、q->prior = p->priior; q->next = q; p->next = q; p->prior = q;
发布时间:2025-07-15 23:00:21