摘要:
Given a list, rotate the list to the right by k places, where k is non-negative. For example:Given 1->2->3->4->5->NULL and k = 2,return 4->5->1->2->3- 阅读全文
posted @ 2016-05-17 22:25
米开朗菠萝
阅读(221)
评论(0)
推荐(0)
摘要:
Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. 暴力 KMP 以后写。。 阅读全文
posted @ 2016-05-17 20:54
米开朗菠萝
阅读(200)
评论(0)
推荐(0)