题目链接 解题思路:滑动窗口 C++: class Solution { public: unordered_map <char, int> ori, cnt; bool check() { for (const auto &p: ori) { if (cnt[p.first] < p.second Read More
posted @ 2021-04-06 17:37 洗盏更酌 Views(52) Comments(0) Diggs(0) Edit
题目链接 解题思路: C++: class Solution { public: int compareVersion(string version1, string version2) { int n1 = version1.size(), n2 = version2.size(), end = Read More
posted @ 2021-04-06 11:17 洗盏更酌 Views(41) Comments(0) Diggs(0) Edit