某双向链表中的结点如图所示,删除 t 所指结点的操作为
高老师2年前 (2024-03-26)数据结构导论(02142)26
某双向链表中的结点如图所示,删除 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
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。