随笔分类 - OJ / LeetCode
第 111 场双周赛 - 力扣(LeetCode)
摘要:# [第 111 场双周赛 - 力扣(LeetCode)](https://leetcode.cn/contest/biweekly-contest-111/) ## [2824. 统计和小于目标的下标对数目 - 力扣(LeetCode)](https://leetcode.cn/problems/
第 358 场周赛 - 力扣(LeetCode)
摘要:# [第 358 场周赛 - 力扣(LeetCode)](https://leetcode.cn/contest/weekly-contest-358/) ## [2815. 数组中的最大数对和 - 力扣(LeetCode)](https://leetcode.cn/problems/max-pai
第 357 场周赛 - 力扣
摘要:# [第 357 场周赛 - 力扣(LeetCode)](https://leetcode.cn/contest/weekly-contest-357/) ## [2810. 故障键盘 - 力扣(LeetCode)](https://leetcode.cn/problems/faulty-keybo
第 356 场周赛 - 力扣(LeetCode)
摘要:# [第 356 场周赛 - 力扣(LeetCode)](https://leetcode.cn/contest/weekly-contest-356/) ## [2798. 满足目标工作时长的员工数目 - 力扣(LeetCode)](https://leetcode.cn/problems/num
leetcode第 109 场双周赛
摘要:6930. 检查数组是否是好的 - 力扣(LeetCode) 首先判断数组长度是不是最大值 + 1, 然后排个序,判断0到n - 2是不是都是1到最大值的一个排列,满足这些返回true就行了 class Solution { public: bool isGood(vector<int>& num)