NASA’s Next Giant Leap
举一反三
- The Giant’s Causeway was located in __________.
- 在循环双链表的p结点之后插入s结点的操作是______。 A: p→next=s;p→next→prior=s;S→prior=p;S→next=p→next; B: s→next=p;s→next=p→next;p→next=s;p→next→prior=s; C: p→next=s;s→prior=p;p→next→prior=s;s→next=p→next; D: s→prior=p;s→next=p→next;p→next→prior=s;p→next=S;
- 完成在双循环链表结点p之后插入s的操作是()A.()p->next=s();()s()->()prior=p;()p()->()next()->()prior=s();()s()->()next=p()->()next;()B.()p()->()next()->()prior=s;()p()->()next=s;()s()->()prior=p;()s()->()next=p()->()next;()C.()s()->()prior=p;()s()->()next=p()->()next;()p()->()next=s;()p()->()next()->()prior=s();()D.()s()->()prior=p;()s()->()next=p()->()next;()p()->()next()->()prior=s();()p()->()next=s;
- 在循环双链表的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;
- 若已建立以下链表结构,指针p、s分别指向如图所示结点。 则不能将s所指结点插入到链表末尾的语句组是______。 A: p=p->next; s ->next=p; p->next=s; B: s ->next='\0'; p=p->next; p->next=s; C: p=p->next; s ->next=p->next; p->next=s; D: p=(*p).next; (*s ).next=(*p).next; (*p).next=s;