摘要:
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-03-13 10:55
Ci_pea
阅读(128)
评论(0)
推荐(0)
摘要:
Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. 阅读全文
posted @ 2017-03-13 10:26
Ci_pea
阅读(165)
评论(0)
推荐(0)
摘要:
Given an array and a value, remove all instances of that value in place and return the new length. Do not allocate extra space for another array, you 阅读全文
posted @ 2017-03-13 09:49
Ci_pea
阅读(115)
评论(0)
推荐(0)
浙公网安备 33010602011771号