Leetcode 常见bug总结

647. Substring Anagrams

Given a string s and a non-empty string p, find all the start indices of p’s anagrams in s.
LintCode

没有验证 len(s) < len(p) 的情况

你可能感兴趣的:(Leetcode,总结)