|
| 1 | +# 算法练习 |
| 2 | + |
| 3 | +- 阶乘函数 [factorial] |
| 4 | +- 斐波那契数列 [fibonacci] |
| 5 | +- 全局唯一标识符 |
| 6 | + - [uuid] |
| 7 | + - [guid] |
| 8 | + - Twitter的雪花算法 [snowflake] |
| 9 | +- LZ系列压缩算法 |
| 10 | + - LZ系列压缩算法均为LZ77与LZ78的变种,在此基础上做了优化。 |
| 11 | + - LZ77:LZSS、LZR、LZB、LZH; |
| 12 | + - LZ78:LZW、LZC、LZT、LZMW、LZJ、LZFG。 |
| 13 | + - 其中,LZSS与LZW为这两大阵容里名气最响亮的算法。LZSS是由Storer与Szymanski [2]改进了LZ77:增加最小匹配长度的限制,当最长匹配的长度小于该限制时,则不压缩输出,但仍然滑动窗口右移一个字符。Google开源的Snappy压缩算法库大体遵循LZSS的编码方案,在其基础上做了一些工程上的优化。 |
| 14 | +- LRU |
| 15 | +- 判断回文数 |
| 16 | +- 最长回文子串 https://www.cnblogs.com/en-heng/p/3973679.html |
| 17 | +- 去掉重复值(数组) |
| 18 | +- 找出字符串中出现次数最多的字母 |
| 19 | +- 求最大值、最小值 |
| 20 | +- 验证是否为数组 |
| 21 | + |
| 22 | +Node.js大众点评爬虫 https://www.cnblogs.com/en-heng/p/5895207.html |
| 23 | + |
| 24 | +- lz77 算法 |
| 25 | + - https://www.jb51.net/article/23024.htm |
| 26 | + - https://www.jb51.net/article/120912.htm |
| 27 | + |
| 28 | +- 随机算法 random |
| 29 | + - uuid |
| 30 | + - 随机洗牌 knuth-shuffle |
| 31 | + - http://caibaojian.com/js-random-array.html |
| 32 | + - https://www.h5jun.com/post/array-shuffle.html |
| 33 | + - http://caibaojian.com/get-random-element.html |
| 34 | + - 5分钟现场撸代码——谈总结会抽奖程序 https://www.h5jun.com/post/luckey-draw-in-5-minutes.html |
| 35 | + |
| 36 | +- Twitter的雪花算法 snowflake |
| 37 | + |
| 38 | +重学前端 https://www.w3cplus.com/relearn-the-front-end-techniques.html |
| 39 | + |
| 40 | +排序算法 |
| 41 | + |
| 42 | +第三届360前端星计划在线作业题 |
| 43 | +https://www.h5jun.com/post/75team-star-handlock.html |
| 44 | + |
| 45 | +用65行代码实现JavaScript动画序列播放 |
| 46 | +https://www.h5jun.com/post/sixty-lines-of-code-animation.html |
| 47 | + |
| 48 | +为什么 [ ] 是 false 而 !![ ] 是 true |
| 49 | +https://www.h5jun.com/post/why-false-why-true.html |
| 50 | + |
| 51 | +https://www.cnblogs.com/en-heng/category/582209.html |
| 52 | +【十大经典数据挖掘算法】SVM系列 https://www.cnblogs.com/en-heng/p/5965438.html |
| 53 | + |
| 54 | +别人家的面试题:不可变数组快速范围求和 https://75team.com/post/range-sum-query-immutable.html |
| 55 | +别人家的面试题:自然数拆分求最大乘积 https://75team.com/post/integer-break.html |
| 56 | + |
| 57 | +别人家的面试题:统计"1"的个数(续) https://75team.com/post/count_bits.html |
| 58 | + |
| 59 | +https://www.h5jun.com/post/html5-element-flowchart.html |
| 60 | +HTML5 元素选择流程图 |
| 61 | + |
| 62 | +https://www.h5jun.com/post/multiply7.html 别人家的面试题:不用加减乘除,求整数的7倍 |
| 63 | + |
| 64 | +C4.5 |
| 65 | +K-Means |
| 66 | +SVM |
| 67 | +Apriori |
| 68 | +EM |
| 69 | +PageRank |
| 70 | +AdaBoost |
| 71 | +kNN |
| 72 | +Naïve Bayes |
| 73 | +CART |
0 commit comments