Loading

摘要: 这道题难度较低,没有必要作说明。 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 we 阅读全文
posted @ 2017-09-07 14:14 xpang0 阅读(246) 评论(0) 推荐(0) 编辑
摘要: Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. 实现strStr()。 返回haystack中第 阅读全文
posted @ 2017-09-07 09:39 xpang0 阅读(221) 评论(0) 推荐(0) 编辑