單項(xiàng)選擇題

*hear之前插入節(jié)點(diǎn)*s的操作是()

A.s->next=head;head=s;
B.s->next=head->next;head->next=s;
C.head=s;s->next=head;
D.head->next=s;s->next=head->next;

微信掃碼免費(fèi)搜題