随笔分类 - LeetCode
摘要:https://leetcode-cn.com/contest/biweekly-contest-65/
阅读全文
摘要:https://leetcode-cn.com/contest/biweekly-contest-63/
阅读全文
摘要:513. 找树左下角的值
207. 课程表
373. 查找和最小的K对数字
1889. 装包裹的最小浪费空间
阅读全文
摘要:https://leetcode-cn.com/contest/weekly-contest-267/
阅读全文
摘要:两栋颜色不同且距离最远的房子 // 解法一 // 暴力双重循环 class Solution { public: int maxDistance(vector<int>& colors) { int n = colors.size(); int ans = 1; for (int i = 0; i
阅读全文