在循环双链表的p所指的结点之前插入s所指结点的操作是()。
- A、P―>next=s;
- B、p―>next=s;s―>prior=p;p―>next―>prior=s;p―>next―>prior=s;s―>prior=p;s―>next=p―>next;s―>next=p―>next
- C、s―>prior=p;
- D、s―>prior=p;s―>next=p―>next;s―>next=p―>next;p―>next=s;p―>next―>prior=s;p―>next―>prior=s;p―>next=s;
正确答案:D
答案解析:有
![](/editor/images/201705/qrcode_for_gh_573e2a458573_258.jpg)
微信扫一扫手机做题