algorithm
sky527759
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
the-tips-of-algorithm
you can insert the same numbers of characters to orginal string, and join a character in the last of orginal string, make the new string always has odd numbers of character, for solving the problem o...原创 2019-11-06 08:49:39 · 230 阅读 · 0 评论 -
how-to-use-a-specific-algorithm
First:Try to comprehand the algorithm without examples, if can not understand, try once again with a easy examples until know how it work(draw a process-chart) and whether it can be optimized.Second...原创 2019-11-05 21:35:15 · 162 阅读 · 0 评论 -
fast-slow-pointers
快慢指针 快慢指针中的快慢指的是移动的步长,即每次向前移动速度的快慢。例如可以让快指针每次沿链表向前移动2,慢指针每次向前移动1次。快慢指针的应用(1)判断单链表是否存在环如果链表存在环,就好像操场的跑道是一个环形一样。此时让快慢指针都从链表头开始遍历,快指针每次向前移动两个位置,慢指针每次向前移动一个位置;如果快指针到达NULL,说明链表以N...转载 2019-11-05 08:20:47 · 375 阅读 · 0 评论 -
algorithm-Manacher
reprinting from https://segmentfault.com/a/1190000003914228If the author of the article is not allowed to reprint, this article will be deleted转载 2019-11-04 11:01:42 · 127 阅读 · 0 评论
分享