题目链接:https://leetcode-cn.com/problems/number-of-islands/ 给定一个由 '1'(陆地)和 '0'(水)组成的的二维网格,计算岛屿的数量。一个岛被水包围,并且它是通过水平方向或垂直方向上相邻的陆地连接而成的。你可以假设网格的四个边均被水包围。 示例 ...
分类:
其他好文 时间:
2020-03-13 01:33:06
阅读次数:
50
链接:https://leetcode cn.com/problems/dui lie de zui da zhi lcof/ 代码 ...
分类:
其他好文 时间:
2020-03-12 22:03:55
阅读次数:
78
分糖果 题目卡片 时间: 2020 03 05 题目链接: [1103]: https://leetcode cn.com/problems/distribute candies to people/ Tag:math 思路 题目挺简单的,按着题目描述来可暴力求解。 "对小朋友们进行遍历,每次都发小 ...
分类:
其他好文 时间:
2020-03-11 16:57:16
阅读次数:
61
链接:https://leetcode cn.com/problems/he wei sde liang ge shu zi lcof/ 代码 ...
分类:
其他好文 时间:
2020-03-11 15:46:32
阅读次数:
57
1013. Partition Array Into Three Parts With Equal Sum(将数组分成和相等的三个部分) 链接 https://leetcode cn.com/problems/partition array into three parts with equal s ...
分类:
其他好文 时间:
2020-03-11 10:31:17
阅读次数:
56
链接:https://leetcode cn.com/problems/er cha shu de shen du lcof/ 代码 ...
分类:
其他好文 时间:
2020-03-10 14:20:38
阅读次数:
53
链接:https://leetcode cn.com/problems/er cha sou suo shu de di kda jie dian lcof/ 代码: ...
分类:
其他好文 时间:
2020-03-10 13:38:43
阅读次数:
38
70.买卖股票的最佳时机 题目链接 来源:力扣(LeetCode)链接:https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock 题目描述 给定一个数组,它的第 i 个元素是一支给定股票第 i 天的价格。 如果你最多只允许完成一 ...
分类:
其他好文 时间:
2020-03-09 20:45:51
阅读次数:
64
链接:https://leetcode cn.com/problems/zai pai xu shu zu zhong cha zhao shu zi lcof/ 代码 ...
分类:
编程语言 时间:
2020-03-09 18:14:37
阅读次数:
69
链接:https://leetcode cn.com/problems/que shi de shu zi lcof/ 代码 ...
分类:
其他好文 时间:
2020-03-09 18:11:54
阅读次数:
44