A.線性存儲(chǔ)和非線性存儲(chǔ) B.順序存儲(chǔ)與鏈表存儲(chǔ) C.索引存儲(chǔ)與散列存儲(chǔ)
A.后進(jìn)后出 B.先進(jìn)先出 C.不分順序 D.后進(jìn)先出
鏈表的結(jié)點(diǎn)類型定義如下: 刪除雙鏈表中結(jié)點(diǎn)p(由p指向的結(jié)點(diǎn))的操作是()
A.q=p->left;r=p->right;q->right=r->left B.q=p->left;r=p->right;q->right=r;r->left=q C.q=p->left;r=p->right;q->left=r;r->right=q D.q=p->right;r=p->left;q->right=r;r->left=q