leetcode: 340 至多包含 K 个不同字符的最长子串
#include <iostream>#include <string>using namespace std;class Solution {public: int findLongestWord(string s, int k) { if(k == 0 || s.size() == 0) return 0; vector<bool> flags(128,false); vect.
原创
2021-05-20 16:37:21 ·
133 阅读 ·
0 评论