Leetcode错题本 2021-12-06 刷题 0 Comments Word Count: 65(words) Read Count: 1(minutes) 438 滑动窗口题 在滑动窗口比较时,我把window[c]==need[c]和need.count©换了一个位置,导致了这样的悲剧。 c++ map对象先判断存不存在,再直接引用,否则会直接创建一个map[c]=0