算法
yunan_wind
这个作者很懒,什么都没留下…
展开
-
有序数组合并问题
1转载 2014-03-13 23:00:36 · 555 阅读 · 0 评论 -
这个人的博客总结了基本的数据结构,不过我应该自己总结一下,权当参考
http://blog.csdn.net/shuilan0066/article/category/1054621转载 2014-03-13 23:12:29 · 546 阅读 · 0 评论 -
给出0-255,的N个值,求如何找出它们的重复值
a~z包括大小写与0~9组成的N个数用最快的方式把其中重复的元素挑出来~~void thesame(char *str) { char dsc[256] = {0}; char *tmp; for (tmp = str; *tmp; tmp++) { if (转载 2012-03-30 00:45:20 · 544 阅读 · 0 评论 -
什么是动态规划
转载 2012-03-01 16:25:04 · 391 阅读 · 0 评论 -
C++实现singleton
#include using namespace std;class Singelton{public: static Singelton* GetInstance() { if (instance_ == NULL) { instance_=new Singelton; } return instance_; }private: Singelton()转载 2014-03-13 21:57:39 · 548 阅读 · 0 评论