摘要: Description:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeatin... 阅读全文
posted @ 2015-09-02 16:33 Rosanne 阅读(142) 评论(0) 推荐(0) 编辑
摘要: Description:Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one uniqu... 阅读全文
posted @ 2015-09-02 15:38 Rosanne 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Description:Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example,S=... 阅读全文
posted @ 2015-09-02 15:11 Rosanne 阅读(152) 评论(0) 推荐(0) 编辑