LeetCode 362. Design Hit Counter[Medium]
发表于
|
更新于
113. 路径总和 II - 力扣(LeetCode)
题目方法1:深度优先遍历123456789101112131415161718192021222324252627282930313233343536373839404142434445public class Problem113Solut
...
LeetCode 362. Design Hit Counter[Medium]
发表于
|
更新于
本题目在 LeetCode 上不是免费开放题目,需要会员才能使用。
题目Design a hit counter which counts the number of hits received in the past 5 minutes.
Each function accepts a time
...
剑指Offer 19 正则表达式匹配
发表于
|
更新于
题目参考资料
剑指 Offer 19. 正则表达式匹配(动态规划,清晰图解) - 正则表达式匹配 - 力扣(LeetCode)
逐行详细讲解,由浅入深,dp和递归两种思路 - 正则表达式匹配 - 力扣(LeetCode)
剑指Offer 18 删除链表的节点
发表于
|
更新于
剑指 Offer 原版题目(1)在 O(1) 的时间内删除链表的节点。
给定单向链表的头指针和一个节点指针,定义一个函数在 O(1) 时间内删除该节点。
解答解答1[Java]LeetCode 版本解答解答1[Java]123456789101112131415161718192021222324
...
剑指Offer 题解索引
发表于
|
更新于
Index
Problem ID
Title and Link
1
2
剑指Offer 2. 实现单例模式
2
3
剑指Offer 3. 数组中重复的数字
3
4
剑指Offer 4. 二维数组中的查找
4
5
剑指Offer 5. 替换空格
5
6
剑指Offer
...
剑指Offer 17 打印从 1 到最大的 n 位数
发表于
|
更新于
题目输入数字 n,按照顺序打印出从 1 到最大的 n 位十进制数。
解答解法1[Java]12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565
...
LeetCode 122. Best Time to Buy and Sell Stock II[Easy].md
发表于
|
更新于
题目You are given an array prices where prices[i] is the price of a given stock on the ith day.
Find the maximum profit you can achieve. You may comple
...