- 博客(1)
- 资源 (15)
- 收藏
- 关注
原创 学长们的求职血泪史(C/C++/JAVA)
2014届校招基本慢慢收尾,现特将本人和小伙伴们的求职血泪史记录,并且推荐一些书籍供学弟学妹们参考,以壮我皇家理工之名。 首先得感谢百度的师兄,他教会了我很多东西,致以很深的谢意。另外还得感谢一起求职的小伙伴们,希望我们的经历能够给学弟学妹们一个参考。 以下分三个方向讲解,每个方向都是一个学长独自撰稿。 (一) C语言篇 C语言求职血泪史 华为(实习)
2013-10-19 22:25:59
31818
9
霍夫曼编码的c语言实现
下面是在linux下运行结果。
gcc Huffman.c -o Huffman
[root@localhost stack]# ./Huffman
Please Enter the num of charactor:8
Please Enter the charactors:
5 29 7 8 14 23 3 11
You Enter 8 charactors:
5 29 7 8 14 23 3 11
0110 10 1110 1111 110 00 0111 010
2012-11-07
树与等价查并集实现代码
并查集实现:普通算法、稚压缩、压缩路径。
Linux下查并集运行结果。
---------Please Select you choice:----------
1 Enter the relation!
2 Find its root!
3 Find its relations!
0 Quite!
Your choice is :3
Please enter the number you want to know :
1 8
YES,1 and 8 have the same root!
2012-11-07
递归、非递归、先中后序遍历二叉树(非伪代码)
linux下运行程序结果如下:
/----------Welcome to Test!----------/
1 Create BiTree!
2 Display BiTree!
3 InOrder BiTree!
4 PreOrder BiTree!
5 Pre BiTree!
6 In_Order BiTree!
7 Post BiTree!
0 Quite!
/----------Welcome to Test!----------/
Enter your choice:
2012-11-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人