
GitHub
文章平均质量分 73
mdlyyh
Stay hungry,stay foolish
展开
-
从本地删除GigHub上不想要的文件
一个项目时间长了就总有些文件觉得是多余的想要删除,原创 2014-02-28 15:42:48 · 1961 阅读 · 0 评论 -
perfect_shuffle的C++实现
今天花了点时间实现了C++版的perfect_shuffle算法,具体代码如下:原创 2014-03-05 14:40:04 · 1039 阅读 · 0 评论 -
使用autoconf和automake创建小项目
用了两天将之前的Snake游戏重新组织了一下,使用autoconf和automake按照GNU的安装软件组织布局重新编译并测试安装通过,第一次做这样的事情,很多知识查了很多资料才弄明白,最后克服了困难,可以把snakes安装到电脑上了。下面就描述一下,希望能帮到其他新手。原创 2014-03-04 08:35:36 · 1232 阅读 · 0 评论 -
洗牌算法-神级算法来源
##### 2.3.5、How comes the Magic Conclusion?Our problem has been resolved, but this chapter has not been completed,how comes the Magic Conclusion that determines the perfect shuffle algorithm: if翻译 2014-03-01 20:45:25 · 1125 阅读 · 0 评论 -
洗牌算法2-分治
###Solution 2 、Perfect shuffle algorithmWho has played poker knows,an in-shuffle of a deck of cards is done by cutting the deck into two equal halves and interleaving them perfectly, with the first翻译 2014-03-01 10:54:48 · 1086 阅读 · 0 评论 -
git命令的基本使用方法
总是查了又忘,于是就记在这里,以后再找的时候也方便点。原创 2014-02-22 14:38:22 · 5048 阅读 · 0 评论 -
洗牌算法3-完美洗牌算法
#### 2.3、Perfect shuffle algorithm perfect_shuffle3##### 2.3.1、cycle_leader algorithmEither perfect_shuffle1, or perfect_shuffle2, these two algorithms do not reach the time complexity of O (N) an翻译 2014-03-01 14:23:42 · 1009 阅读 · 0 评论 -
洗牌算法1-蛮力搜索
中文版本见https://github.com/lmdyyh/The-Art-Of-Programming-By-July/tree/master/ebook/zhTopic Details:There is an array of length 2n {a1, a2, a3, ..., an, b1, b2, b3, ..., bn}, hope to be {a1, b1, a2, b翻译 2014-03-01 10:49:29 · 976 阅读 · 0 评论 -
系统重装后如何重新pull自己GitHub上的仓储
由于系统重起了,当然本地的仓储和SSH生成的密钥就都没有了,这时如何在本地pull自己在GitHub上的仓储呢?原创 2014-02-28 00:43:38 · 1545 阅读 · 0 评论 -
binary-search之Scheme实现
这里有具体的讨论,并配有C的代码,https://github.com/julycoding/The-Art-Of-Programming-By-July/blob/master/ebook/zh/25.0.md原创 2014-03-09 00:48:38 · 1001 阅读 · 0 评论