摘要:
Implement strStr().Returns a pointer to the first occurrence of needle in haystack, ornullif needle is not part of haystack.Summary: be careful about the corner case, haystack = "", needle = "" 1 char *strStr(char *haystack, char *needle) { 2 if(haystack[0] == '\0' && 阅读全文
posted @ 2013-11-23 15:34
假日笛声
阅读(167)
评论(0)
推荐(0)


浙公网安备 33010602011771号