2013年7月16日
摘要: 题目: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="ADOBECODEBANC"T="ABC"Minimum window is"BANC".Note:If there is no such window in S that covers all characters in T, return the em 阅读全文
posted @ 2013-07-16 18:45 lichen782 阅读(5333) 评论(1) 推荐(4)
摘要: 题目: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="ADOBECODEBANC"T="ABC"Minimum window is"BANC".Note:If there is no such window in S that covers all characters in T, return the em 阅读全文
posted @ 2013-07-16 17:14 lichen782 阅读(871) 评论(0) 推荐(0)
摘要: 题目: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="ADOBECODEBANC" T="ABC" Minimum window is"BANC". Note: If there is no such window in S that covers all characters in T, return 阅读全文
posted @ 2013-07-16 16:48 lichen782 阅读(1262) 评论(0) 推荐(0)