摘要: Substring with Concatenation of All Words 要点:用map对words计数,founds表示已经匹配的,patterns表示总共的。从左边words长度内的每一个点作为开始点,用sliding window来找到符合条件的串(记录start,根据当前的匹配情况 阅读全文
posted @ 2016-04-12 11:48 absolute100 阅读(128) 评论(0) 推荐(0) 编辑