数据结构与算法
-
「LeetCode每日一题」——1013. 将数组分成和相等的三个部分
1013. 将数组分成和相等的三个部分 链接:https://leetcode-cn.com/problems/partition-array-into-three-parts-w…
-
「LeetCode每日一题」——543. 二叉树的直径
543. 二叉树的直径 链接:https://leetcode-cn.com/problems/diameter-of-binary-tree/难度:简单 题目 给定一棵二叉树,你…
-
「LeetCode每日一题」——121. 买卖股票的最佳时机
121. 买卖股票的最佳时机 链接:https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock/难度:简单 题…
-
「LeetCode每日一题」——322. 零钱兑换
322. 零钱兑换 链接:https://leetcode-cn.com/problems/coin-change/难度:中等 题目 给定不同面额的硬币 coins 和一个总金额 …
-
「LeetCode每日一题」——LCOF.59 – II. 队列的最大值
链接:https://leetcode-cn.com/problems/dui-lie-de-zui-da-zhi-lcof/难度:中等 题目 请定义一个队列并实现函数 max_v…
-
「LeetCode每日一题」——LCOF.57 – II. 和为s的连续正数序列
面试题57 – II. 和为s的连续正数序列 链接:https://leetcode-cn.com/problems/he-wei-sde-lian-xu-zheng-shu-xu…
-
「LeetCode每日一题」——1103. 分糖果 II
1103. 分糖果 II 链接:https://leetcode-cn.com/problems/distribute-candies-to-people/难度:简单 题目 排排坐…
-
「LeetCode每日一题」——994. 腐烂的橘子
994. 腐烂的橘子 链接:https://leetcode-cn.com/problems/rotting-oranges/难度:简单 题目 在给定的网格中,每个单元格可以有以下…
-
「LeetCode每日一题」——LCCI 10.01. 合并排序的数组
LCCI 10.01. 合并排序的数组 链接:https://leetcode-cn.com/problems/sorted-merge-lcci/难度:简单 题目 给定两个排序后…
-
「LeetCode每日一题」206. 反转链表
206. 反转链表 题目 反转一个单链表。 示例: 输入: 1->2->3->4->5->NULL输出: 5->4->3->2-&g…