Tony's Log

Algorithms, Distributed System, Machine Learning

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

"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

posted on 2014-08-08 13:54  Tonix  阅读(120)  评论(0)    收藏  举报