摘要: 两栋颜色不同且距离最远的房子 // 解法一 // 暴力双重循环 class Solution { public: int maxDistance(vector<int>& colors) { int n = colors.size(); int ans = 1; for (int i = 0; i 阅读全文
posted @ 2021-11-22 16:00 Wang~ze君 阅读(36) 评论(0) 推荐(0)
摘要: 记录第一篇博客 计划写LeetCode,codeforce题解,基本知识和开源项目框架 阅读全文
posted @ 2021-11-22 12:55 Wang~ze君 阅读(48) 评论(0) 推荐(0)