2014年6月28日
摘要: 基本思想:在遍历结点过程中,设置辅助指针,用于记录先前遍历的结点。这样依次编译的过程中只需修改其后继结点的next域即可。 实现代码:[cpp]view plaincopyprint?typedefintDataType;//类型定义typedefstructnode{//单链表定义DataT... 阅读全文
posted @ 2014-06-28 10:40 上海—Michael 阅读(195) 评论(0) 推荐(0) 编辑