uacs2024

导航

2024年12月3日 #

leetcode 2653. 滑动子数组的美丽值

摘要: 2653. 滑动子数组的美丽值 暴力超时解,纯批判性展示🤡 class Solution { public: vector<int> getSubarrayBeauty(vector<int>& nums, int k, int x) { int size = nums.size(); if(si 阅读全文

posted @ 2024-12-03 21:28 ᶜʸᵃⁿ 阅读(23) 评论(0) 推荐(0)

leetcode 1297. 子串的最大出现次数 未解决

摘要: 1297. 子串的最大出现次数 暴力解,超时🤡 class Solution { public: int maxFreq(string s, int maxLetters, int minSize, int maxSize) { int size = s.size(), maxRes = 0; u 阅读全文

posted @ 2024-12-03 15:14 ᶜʸᵃⁿ 阅读(16) 评论(0) 推荐(0)