西门摸鱼

Month: 2 月 2023

LeetCode 84 柱状图中最大的矩形

2023年2月17日2023年2月17日 feelshu Leave a comment 算法

给定 n 个非负整数,用来表示柱状图中各个柱子的高度。每个柱子彼此相邻,且宽度为 1 。 求在该柱状图中,能够 […]

Continue reading


LeetCode 83 删除排序链表中的重复元素

2023年2月16日 feelshu Leave a comment 算法

给定一个已排序的链表的头 head , 删除所有重复的元素,使每个元素只出现一次 。返回 已排序的链表 。 示 […]

Continue reading


LeetCode 82 删除排序链表中的重复元素II

2023年2月15日2023年2月15日 feelshu Leave a comment 算法

给定一个已排序的链表的头 head , 删除原始链表中所有重复数字的节点,只留下不同的数字 。返回 已排序的链 […]

Continue reading


LeetCode 81 搜索旋转排序数组II

2023年2月14日2023年2月14日 feelshu Leave a comment 算法

已知存在一个按非降序排列的整数数组 nums ,数组中的值不必互不相同。 在传递给函数之前,nums 在预先未 […]

Continue reading


LeetCode 80 删除有序数组中的重复项II

2023年2月13日2023年2月13日 feelshu Leave a comment 算法

给你一个有序数组 nums ,请你 原地 删除重复出现的元素,使得出现次数超过两次的元素只出现两次 ,返回删除 […]

Continue reading


LeetCode 79 单词搜索

2023年2月12日2023年2月12日 feelshu Leave a comment 算法

给定一个 m x n 二维字符网格 board 和一个字符串单词 word 。如果 word 存在于网格中,返 […]

Continue reading


LeetCode 78 子集

2023年2月11日 feelshu Leave a comment 算法

给你一个整数数组 nums ,数组中的元素 互不相同 。返回该数组所有可能的子集(幂集)。 解集 不能 包含重 […]

Continue reading


LeetCode 77 组合

2023年2月10日 feelshu Leave a comment 算法

给定两个整数 n 和 k,返回范围 [1, n] 中所有可能的 k 个数的组合。 你可以按 任何顺序 返回答案 […]

Continue reading


LeetCode 76 最小覆盖子串

2023年2月9日 feelshu Leave a comment 算法

给你一个字符串 s 、一个字符串 t 。返回 s 中涵盖 t 所有字符的最小子串。如果 s 中不存在涵盖 t […]

Continue reading


LeetCode 75 颜色分类

2023年2月8日2023年2月8日 feelshu Leave a comment 算法

给定一个包含红色、白色和蓝色、共 n 个元素的数组 nums ,原地对它们进行排序,使得相同颜色的元素相邻,并 […]

Continue reading


Posts navigation

Older posts
Newer posts

近期文章

  • LeetCode 199 二叉树的右视图
  • LeetCode 198 打家劫舍
  • LeetCode 197 上升的温度
  • LeetCode 196 删除重复的电子邮箱
  • LeetCode 195 第十行

近期评论

  1. 111 发表在 LeetCode 36 有效的数独
  2. 一位WordPress评论者 发表在 世界,您好!

归档

  • 2023 年 5 月
  • 2023 年 4 月
  • 2023 年 3 月
  • 2023 年 2 月
  • 2023 年 1 月
  • 2022 年 12 月
  • 2022 年 8 月
  • 2022 年 4 月

分类

  • 未分类
  • 算法
dazzling Theme by Colorlib Powered by WordPress
陕ICP备2021008752号-1