6-1 單鏈表逆轉(20 point(s))

6-1 單鏈表逆轉(20 point(s)) 本題要求實現一個函數,將給定的單鏈表逆轉。c++ 函數接口定義: List Reverse( List L ); 其中List結構定義以下:函數 typedef struct Node *PtrToNode; struct Node { ElementType Data; /* 存儲結點數據 */ PtrToNode Next; /
相關文章
相關標籤/搜索