455. 分发饼干[https://leetcode-cn.com/problems/assign-cookies/] 假设你是一位很棒的家长,想要给你的孩子们一些小饼干。但...
![240](https://cdn2.jianshu.io/assets/default_avatar/7-0993d41a595d6ab6ef17b19496eb2f21.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
455. 分发饼干[https://leetcode-cn.com/problems/assign-cookies/] 假设你是一位很棒的家长,想要给你的孩子们一些小饼干。但...
387. 字符串中的第一个唯一字符[https://leetcode-cn.com/problems/first-unique-character-in-a-string/]...
这一章节会学习关于动态规划相关问题的算法。先简单后困难。 53. 最大子序和[https://leetcode-cn.com/problems/maximum-subarra...
389. 找不同[https://leetcode-cn.com/problems/find-the-difference/] 给定两个字符串 s 和 t,它们只包含小写字母...
714. 买卖股票的最佳时机含手续费[https://leetcode-cn.com/problems/best-time-to-buy-and-sell-stock-wit...
738. 单调递增的数字[https://leetcode-cn.com/problems/monotone-increasing-digits/] 给定一个非负整数 N,找...
290. 单词规律[https://leetcode-cn.com/problems/word-pattern/] 给定一种规律 pattern 和一个字符串 str ,判断...
每日一题 861. 翻转矩阵后的得分[https://leetcode-cn.com/problems/score-after-flipping-matrix/] 有一个二维...
每日一题922. 按奇偶排序数组 II[https://leetcode-cn.com/problems/sort-array-by-parity-ii/] 给定一个非负整数...
这个是学习python的时候,随便写写。 假设不使用int, 将字符串转换为数字 06 待续
这次本来准备的面试视频内容,图皆来自网上。感谢万能的网友 冒泡排序(Bubble Sort) 基本描述:冒泡排序是一种简单的排序算法。它重复地走访过要排序的数列,一次比较两个...
积分排行榜 在游乐场游戏过程中, 用户希望跟踪自己在积分排行榜中的排名. 积分排行榜按如下方式排名:最高积分的用户在积分榜上排名第一相同积分有同样的排名, 否则排名往后加1比...
问题描述: 给定一个按时间开始从小到大排序的时间区间集合,这些时间区间之间不存在重叠。 时间区间集合用一个二维数组表示,二维数组的每一行表示一个时间区间,其中0位置的元素表示...