https://leetcode.com/problems/find-all-anagrams-in-a-string/description Q. 두개의 string s와 p가 주어질 때, p의 anagram이 되는 s의 substring을 찾고, 그 시작 index 목록을 반환하라. Solution p에 대해 frequency buffer를 만들고 해당 버퍼를 모두 가진 구간이 있는지 확인한다. 비교적 간단한 문제. 코드. 더보기 public IList FindAnagrams(string s, string p) { IList ret = new List(); Dictionary dictFreq = new Dictionary(); for(int q = 0; q < p.Length; ++q) { if(dictFreq.C..