某双向链表中的结点如题5图所示。删除t所指结点的操作为
A.t->prior->prior=t->next;t->next->prior=t->prior B.t->prior->prior=t->prior;t->next->next=t->next C.t->prior->next=t->prior;t->next->prior=t->next D.t->prior->next=t->next;t->next->prior=t->prior正确答案D
某双向链表中的结点如题5图所示。删除t所指结点的操作为
某双向链表中的结点如题5图所示。删除t所指结点的操作为
A.t->prior->prior=t->next;t->next->prior=t->prior B.t->prior->prior=t->prior;t->next->next=t->next C.t->prior->next=t->prior;t->next->prior=t->next D.t->prior->next=t->next;t->next->prior=t->prior正确答案D