LeetCode热门100道
对LeetCode热门100道编程题的个人的解法,和参考一些优秀的解法
一直流浪~
这个作者很懒,什么都没留下…
展开
-
45. 跳跃游戏 II(难度:中等)
题目链接:https://leetcode.cn/problems/jump-game-ii/原创 2024-02-17 14:22:08 · 500 阅读 · 0 评论 -
1752. 检查数组是否经排序和轮转得到(难度:简单)
题目连接:https://leetcode.cn/problems/check-if-array-is-sorted-and-rotated/原创 2022-12-21 19:40:53 · 67 阅读 · 0 评论 -
813. 最大平均值和的分组(难度:中等)
题目链接:https://leetcode.cn/problems/largest-sum-of-averages/原创 2022-12-21 19:38:22 · 217 阅读 · 0 评论 -
792. 匹配子序列的单词数(难度:中等)
题目连接:https://leetcode.cn/problems/number-of-matching-subsequences/原创 2022-12-21 19:35:44 · 72 阅读 · 0 评论 -
775. 全局倒置与局部倒置(难度:中等)
题目描述:https://leetcode.cn/problems/global-and-local-inversions/原创 2022-12-21 19:32:47 · 323 阅读 · 0 评论 -
1710. 卡车上的最大单元数(难度:简单)
题目链接:https://leetcode.cn/problems/maximum-units-on-a-truck/Q。原创 2022-12-21 19:30:42 · 92 阅读 · 0 评论 -
790. 多米诺和托米诺平铺(难度:中等)
题目链接:https://leetcode.cn/problems/domino-and-tromino-tiling/原创 2022-12-21 19:28:30 · 160 阅读 · 0 评论 -
764. 最大加号标志(难度:中等)
题目链接:https://leetcode.cn/problems/largest-plus-sign/原创 2022-12-21 19:26:25 · 74 阅读 · 0 评论 -
1668. 最大重复子字符串(难度:简单)
题目描述:https://leetcode.cn/problems/maximum-repeating-substring/原创 2022-12-21 19:22:40 · 76 阅读 · 0 评论 -
1620. 网络信号最好的坐标(难度:中等)
题目链接:https://leetcode.cn/problems/coordinate-with-maximum-network-quality/原创 2022-12-21 19:20:16 · 57 阅读 · 0 评论 -
1662. 检查两个字符串数组是否相等(难度:简单)
题目链接:https://leetcode.cn/problems/check-if-two-string-arrays-are-equivalent/原创 2022-12-21 19:15:19 · 179 阅读 · 0 评论 -
784. 字母大小写全排列(难度:中等)
题目链接:https://leetcode.cn/problems/letter-case-permutation/原创 2022-10-30 23:24:42 · 73 阅读 · 0 评论 -
965. 单值二叉树(难度:简单)
题目链接:https://leetcode.cn/problems/univalued-binary-tree/原创 2022-10-30 11:01:55 · 50 阅读 · 0 评论 -
1822. 数组元素积的符号(难度:简单)
题目链接:https://leetcode.cn/problems/sign-of-the-product-of-an-array/原创 2022-10-29 23:19:01 · 56 阅读 · 0 评论 -
862. 和至少为 K 的最短子数组(难度:困难)
题目链接:https://leetcode.cn/problems/shortest-subarray-with-sum-at-least-k/原创 2022-10-29 23:17:53 · 272 阅读 · 0 评论 -
934. 最短的桥(难度:中等)
题目链接:https://leetcode.cn/problems/shortest-bridge/原创 2022-10-29 23:15:38 · 50 阅读 · 0 评论 -
1235. 规划兼职工作(难度:困难)
题目链接:https://leetcode.cn/problems/maximum-profit-in-job-scheduling/原创 2022-10-29 23:14:29 · 256 阅读 · 0 评论 -
1768. 交替合并字符串(难度:简单)
题目链接:https://leetcode.cn/problems/merge-strings-alternately/原创 2022-10-29 23:13:50 · 83 阅读 · 0 评论 -
915. 分割数组(难度:中等)
题目链接:https://leetcode.cn/problems/partition-array-into-disjoint-intervals/原创 2022-10-29 23:11:26 · 44 阅读 · 0 评论 -
901. 股票价格跨度(难度:中等)
题目链接:https://leetcode.cn/problems/online-stock-span/原创 2022-10-29 23:10:14 · 54 阅读 · 0 评论 -
779. 第K个语法符号(难度:中等)
题目链接:https://leetcode.cn/problems/k-th-symbol-in-grammar/原创 2022-10-29 23:08:59 · 69 阅读 · 0 评论 -
1700. 无法吃午餐的学生数量(难度:简单)
题目链接:https://leetcode.cn/problems/number-of-students-unable-to-eat-lunch/原创 2022-10-29 23:07:34 · 58 阅读 · 0 评论 -
1773. 统计匹配检索规则的物品数量(难度:简单)
题目链接:https://leetcode.cn/problems/count-items-matching-a-rule/原创 2022-10-29 23:05:36 · 54 阅读 · 0 评论 -
886. 可能的二分法(难度:中等)
题目链接:https://leetcode.cn/problems/possible-bipartition/原创 2022-10-17 22:35:49 · 52 阅读 · 0 评论 -
904. 水果成篮(难度:中等)
题目链接:https://leetcode.cn/problems/fruit-into-baskets/原创 2022-10-17 22:34:18 · 69 阅读 · 0 评论 -
769. 最多能完成排序的块(难度:中等)
题目链接:https://leetcode.cn/problems/max-chunks-to-make-sorted/原创 2022-10-13 22:49:38 · 61 阅读 · 0 评论 -
801. 使序列递增的最小交换次数(难度:困难)
题目链接:https://leetcode.cn/problems/minimum-swaps-to-make-sequences-increasing/原创 2022-10-10 23:32:36 · 124 阅读 · 0 评论 -
856. 括号的分数(难度:中等)
题目链接:https://leetcode.cn/problems/score-of-parentheses/原创 2022-10-09 18:25:54 · 226 阅读 · 0 评论 -
870. 优势洗牌(难度:中等)
题目链接:https://leetcode.cn/problems/advantage-shuffle/原创 2022-10-09 15:04:50 · 245 阅读 · 0 评论 -
1800. 最大升序子数组和(难度:简单)
题目链接:https://leetcode.cn/problems/maximum-ascending-subarray-sum/原创 2022-10-07 23:41:26 · 82 阅读 · 0 评论 -
811. 子域名访问计数(难度:中等)
题目描述:https://leetcode.cn/problems/subdomain-visit-count/原创 2022-10-05 23:43:26 · 77 阅读 · 0 评论 -
921. 使括号有效的最少添加(难度:中等)
题目链接:https://leetcode.cn/problems/minimum-add-to-make-parentheses-valid/原创 2022-10-04 23:49:33 · 54 阅读 · 0 评论 -
1784. 检查二进制字符串字段(难度:简单)
题目描述:https://leetcode.cn/problems/check-if-binary-string-has-at-most-one-segment-of-ones/原创 2022-10-03 23:25:23 · 107 阅读 · 0 评论 -
1694. 重新格式化电话号码(难度:简单)
题目链接:https://leetcode.cn/problems/reformat-phone-number/原创 2022-10-01 22:42:08 · 57 阅读 · 0 评论 -
面试题 01.08. 零矩阵(难度:中等)
题目链接:https://leetcode.cn/problems/zero-matrix-lcci/原创 2022-10-01 16:40:30 · 82 阅读 · 0 评论 -
面试题 17.09. 第 k 个数(难度:中等)
题目链接:https://leetcode.cn/problems/get-kth-magic-number-lcci/原创 2022-09-28 23:26:27 · 59 阅读 · 0 评论 -
面试题 01.02. 判定是否互为字符重排(难度:简单)
题目链接:https://leetcode.cn/problems/check-permutation-lcci/原创 2022-09-28 23:24:15 · 54 阅读 · 0 评论 -
面试题 17.19. 消失的两个数字(难度:困难)
题目链接:https://leetcode.cn/problems/missing-two-lcci/原创 2022-09-26 22:49:33 · 47 阅读 · 0 评论 -
1640. 能否连接形成数组(难度:简单)
题目链接:https://leetcode.cn/problems/check-array-formation-through-concatenation/原创 2022-09-23 23:12:15 · 38 阅读 · 0 评论 -
707. 设计链表(难度:中等)
题目链接:https://leetcode.cn/problems/design-linked-list/原创 2022-09-23 23:10:01 · 44 阅读 · 0 评论