摘要:
Leetcode里面关于字符串的一些问题,描述如下: Given an input string, reverse the string word by word. For example,Given s = "the sky is blue",return "blue is sky the". U 阅读全文
posted @ 2016-04-19 22:17
zehua_tongxini
阅读(479)
评论(0)
推荐(0)
摘要:
Implement strStr(). Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. 注:直接看题目可能会有些偏差,因为容易认为 ne 阅读全文
posted @ 2016-04-19 14:36
zehua_tongxini
阅读(176)
评论(0)
推荐(0)
摘要:
Question: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a 阅读全文
posted @ 2016-04-19 09:38
zehua_tongxini
阅读(272)
评论(0)
推荐(0)
浙公网安备 33010602011771号