• 2022-07-01
    在一个双链表中,在* $p$ 结点之后插入一个结点*s 的操作是[input=type:blank,size:4][/input]。
    A: s-> prior =p ; p->n e x t=s ; p-> next -> prior =s ; s->n e x t=p-> next s -> next = p -> next ;
    B: p -> next -> prior = s ; p -> next = s ; s \rightarrow> prior = p
    C: p -> next = s ; s \rightarrow> prior = p ; s -> next = p -> next ; p -> next -> prior = s ;
    D: p -> next -> prior = s ; s -> next = p -> next ; s \rightarrow prior = p ; p -> next = s
  • 举一反三