52Heartz's Blog

  • 首页

  • 标签

  • 分类

  • 所有文章

  • 文章分类浏览

  • 搜索

LeetCode 362. Design Hit Counter[Medium]

发表于 2021-09-06 | 更新于 2022-11-01
本题目在 LeetCode 上不是免费开放题目,需要会员才能使用。 题目Design a hit counter which counts the number of hits received in the past 5 minutes. Each function accepts a time ...
阅读全文 »

剑指Offer 21 调整数组顺序使奇数位于偶数前面

发表于 2021-06-01 | 更新于 2022-11-01
类似题目LeetCode 905. Sort Array By Parity - LeetCode 参考资料1.
阅读全文 »

剑指Offer 20 表示数值的字符串

发表于 2021-06-01 | 更新于 2022-11-01
在线 OJLeetCode 上对应的题目 参考资料1.
阅读全文 »

剑指Offer 19 正则表达式匹配

发表于 2021-05-14 | 更新于 2022-11-01
题目参考资料 剑指 Offer 19. 正则表达式匹配(动态规划,清晰图解) - 正则表达式匹配 - 力扣(LeetCode) 逐行详细讲解,由浅入深,dp和递归两种思路 - 正则表达式匹配 - 力扣(LeetCode)
阅读全文 »

剑指Offer 18 删除链表的节点

发表于 2021-05-14 | 更新于 2022-11-01
剑指 Offer 原版题目(1)在 O(1) 的时间内删除链表的节点。 给定单向链表的头指针和一个节点指针,定义一个函数在 O(1) 时间内删除该节点。 解答解答1[Java]LeetCode 版本解答解答1[Java]123456789101112131415161718192021222324 ...
阅读全文 »

剑指Offer 题解索引

发表于 2021-05-14 | 更新于 2022-11-01
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 位数

发表于 2021-05-14 | 更新于 2022-11-01
题目输入数字 n,按照顺序打印出从 1 到最大的 n 位十进制数。 解答解法1[Java]12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565 ...
阅读全文 »

LeetCode 122. Best Time to Buy and Sell Stock II[Easy].md

发表于 2021-05-12 | 更新于 2022-11-01
题目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 ...
阅读全文 »

中文转阿拉伯数字

发表于 2020-11-01 | 更新于 2022-11-01
题目将类似于”二十五万五百亿三千零八万一千零三十五”的中文数字转换成对应的阿拉伯数字 分析一些基本假设: 中文数字中,字符可以分为数字和单位(或者叫数量级),比如一、二、三这种是数字,十、百、千、万这种是单位。 必须以数字开头,单位不能作为开头,但是有个例外情况,十 虽然是个单位,但是 十 可以 ...
阅读全文 »

LeetCode 300. Longest Increasing Subsequence[Medium]

发表于 2020-05-21 | 更新于 2022-11-01
题目链接:https://leetcode.com/problems/longest-increasing-subsequence/ 题解链接:https://leetcode.com/articles/longest-increasing-subsequence/ 题目Given an unso ...
阅读全文 »
12…16
52Heartz

52Heartz

159 日志
9 分类
2 标签
GitHub 知乎
0%
© 2017 – 2022 52Heartz
由 Hexo 强力驱动 v3.8.0
|
主题 based on NexT.Gemini v6.6.0