摘要:
The count-and-say sequence is the sequence of integers with the first five terms as following: 1. 1 2. 11 3. 21 4. 1211 5. 111221 1 is read off as "on 阅读全文
posted @ 2017-07-19 21:03
Beserious
阅读(135)
评论(0)
推荐(0)
摘要:
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or 阅读全文
posted @ 2017-07-19 20:08
Beserious
阅读(95)
评论(0)
推荐(0)
摘要:
Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. 字符串Rabin--Karp算法。滚动哈希,时间 阅读全文
posted @ 2017-07-19 19:43
Beserious
阅读(99)
评论(0)
推荐(0)
浙公网安备 33010602011771号