摘要: Reverse Words in a String 单词取反 whowhoha@outlook.com Question: Given an input string s, reverse the string word by word. For example, given s = "the sk 阅读全文
posted @ 2016-08-06 09:03 whowhoha 阅读(174) 评论(0) 推荐(0) 编辑
摘要: Implement strstr() 实现strstr函数功能 whowhoha@outlook.com Question: Implement strstr(). Returns the index of the first occurrence of needle in haystack, or 阅读全文
posted @ 2016-08-06 09:02 whowhoha 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Valid Palindrome回文数 whowhoha@outlook.com Question: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignor 阅读全文
posted @ 2016-08-06 09:01 whowhoha 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Two Sum II – Input array is sorted whowhoha@outlook.com Question: Similar to Question [1. Two Sum], except that the input array is already sorted in a 阅读全文
posted @ 2016-08-06 09:00 whowhoha 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Question: Design and implement a TwoSum class. It should support the following operations: add and find. add(input) – Add the number input to an inter 阅读全文
posted @ 2016-08-06 09:00 whowhoha 阅读(98) 评论(0) 推荐(0) 编辑