LeetCode "Substring with Concatenation of All Words"

"that are all of the same length" is the key. This statement makes everything much simpler. And, please take care that L may contain duplicated strings.

My main reference is: http://yucoding.blogspot.com/2013/09/leetcode-question-106-substring-with.html

Remember: feel the problem first.. then look up your armory

原文地址:https://www.cnblogs.com/tonix/p/3899211.html