随笔分类 -  目录

一些系列性的文章
摘要:写本篇主要是为了将基础知识梳理一遍,天天加一些基本东西,以后复习时可以返回来看看。数据结构&&基础算法:基本算法: 二分查找二叉树: 二叉树的各种遍历位操作:排序:排序算法总结图论: 总结RMQ : ST 阅读全文
posted @ 2013-09-26 16:46 冰点猎手 阅读(150) 评论(0) 推荐(0)
摘要:1 字符串转换为整数 itao2 strstr3 string的构造函数 、析构函数、 拷贝构造函数、 复制函数4Char ** StrToK(const char* S1,const char* S2)实现该函数,功能:S2将S1字符串截断后,分别输出截断的字符串。举例例如S1=abcdefg, S2=be,将a,cd,fg三个字符串用指向指针的指针返回。 阅读全文
posted @ 2013-09-21 10:50 冰点猎手 阅读(150) 评论(0) 推荐(0)
摘要:直接插入排序:稳定排序 时间复杂度 O(n2)void insertSort(int data[], int N){ if(N =0 && data[j] > temp){ data[j+1] = data[j]; --j; } if(j != i-1) data[j+1] = temp; } }View Code二分法插入排序:稳定排序 O(n2)void binSort(int data[], int N){ if(N >1 + right>>1 ; ... 阅读全文
posted @ 2013-09-03 19:42 冰点猎手 阅读(281) 评论(0) 推荐(0)
摘要:3Sum Closest 3Sum 4Sum Add Binary Add Two Numbers Anagrams Balanced Binary Tree Best Time to Buy and Sell Stock III Best Time to Buy and Sell Stock II 阅读全文
posted @ 2013-08-14 21:43 冰点猎手 阅读(316) 评论(0) 推荐(0)
摘要:我的美国CS面试经验分享 -- 转载怎样花两年时间去面试一个人上面列出了一些比较好的书单cs土硕找工作总结(二) 笔试面试准备http://blog.renren.com/blog/221227065/886156817 阅读全文
posted @ 2013-08-12 21:32 冰点猎手 阅读(189) 评论(0) 推荐(0)