摘要: Reverse Words in a StringGiven an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".Updat... 阅读全文
posted @ 2015-11-15 20:34 `Liok 阅读(435) 评论(0) 推荐(0) 编辑
摘要: Longest Increasing SubsequenceGiven an unsorted array of integers, find the length of longest increasing subsequence.For example,Given[10, 9, 2, 5, 3,... 阅读全文
posted @ 2015-11-15 20:16 `Liok 阅读(699) 评论(0) 推荐(0) 编辑