2014年10月22日
摘要: 一、题目描述Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".二、分析要注意几点:1、当字符串的头部或者尾部存... 阅读全文
posted @ 2014-10-22 20:20 月下美妞1314 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 一、题目描述Follow upfor "Find Minimum in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Suppose ... 阅读全文
posted @ 2014-10-22 18:57 月下美妞1314 阅读(763) 评论(0) 推荐(0) 编辑