随笔分类 -  OJ / LeetCode

摘要:# [第 111 场双周赛 - 力扣(LeetCode)](https://leetcode.cn/contest/biweekly-contest-111/) ## [2824. 统计和小于目标的下标对数目 - 力扣(LeetCode)](https://leetcode.cn/problems/ 阅读全文
posted @ 2023-08-22 01:15 Ke_scholar 阅读(55) 评论(0) 推荐(0)
摘要:# [第 358 场周赛 - 力扣(LeetCode)](https://leetcode.cn/contest/weekly-contest-358/) ## [2815. 数组中的最大数对和 - 力扣(LeetCode)](https://leetcode.cn/problems/max-pai 阅读全文
posted @ 2023-08-16 10:47 Ke_scholar 阅读(44) 评论(0) 推荐(0)
摘要:# [第 357 场周赛 - 力扣(LeetCode)](https://leetcode.cn/contest/weekly-contest-357/) ## [2810. 故障键盘 - 力扣(LeetCode)](https://leetcode.cn/problems/faulty-keybo 阅读全文
posted @ 2023-08-08 22:51 Ke_scholar 阅读(40) 评论(0) 推荐(0)
摘要:# [第 356 场周赛 - 力扣(LeetCode)](https://leetcode.cn/contest/weekly-contest-356/) ## [2798. 满足目标工作时长的员工数目 - 力扣(LeetCode)](https://leetcode.cn/problems/num 阅读全文
posted @ 2023-08-01 10:45 Ke_scholar 阅读(44) 评论(0) 推荐(0)
摘要:6930. 检查数组是否是好的 - 力扣(LeetCode) 首先判断数组长度是不是最大值 + 1, 然后排个序,判断0到n - 2是不是都是1到最大值的一个排列,满足这些返回true就行了 class Solution { public: bool isGood(vector<int>& num) 阅读全文
posted @ 2023-07-23 18:50 Ke_scholar 阅读(25) 评论(0) 推荐(0)