問答題

【簡答題】編寫算法,實現(xiàn)帶頭結(jié)點單鏈表的逆置算法。

答案: voidinvent(Lnode*heaD.
{Lnode*p,*q;
if(!head->next...
微信掃碼免費搜題