摘要: 暑假里看到大神的一篇文章,在一个大公司里面试,面试冒泡排序链表版,当时想了写一下,不知该如何写起,就放下了,最近数据结构又重新学习链表,试着写了下,对链表的操作熟练运用吧。调的我很纠结啊。。。 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <cstdlib> 5 using namespace std; 6 struct node 7 { 8 int data; 9 struct node *next;10 }List;11 struct nod 阅读全文
posted @ 2012-09-18 19:16 Naix_x 阅读(460) 评论(0) 推荐(0) 编辑