判斷題非空雙向循環(huán)鏈表中由q所指的結(jié)點(diǎn)后面插入一個(gè)由p指的結(jié)點(diǎn)的動(dòng)作依次為:p->prior=q,p->next=q->next,q->next=p,q->prior->next←p。

您可能感興趣的試卷