当前位置:首页 > 数据结构导论(02142) > 正文内容

某双向链表中的结点如图所示,删除 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

扫描二维码免费使用微信小程序搜题/刷题/查看解析。

版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。

本文链接:https://doc.20230611.cn/post/233291.html

分享给朋友: