西门摸鱼

Author: feelshu

LeetCode 91 解码方法

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

一条包含字母 A-Z 的消息通过以下映射进行了 编码 : 要 解码 已编码的消息,所有数字必须基于上述映射的方 […]

Continue reading


LeetCode 90 子集 II

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

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

Continue reading


LeetCode 89 格雷编码

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

n 位格雷码序列 是一个由 2^n 个整数组成的序列,其中: 给你一个整数 n ,返回任一有效的 n 位格雷码 […]

Continue reading


LeetCode 88 合并两个有序数组

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

给你两个按 非递减顺序 排列的整数数组 nums1 和 nums2,另有两个整数 m 和 n ,分别表示 nu […]

Continue reading


LeetCode 87 扰乱字符串

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

使用下面描述的算法可以扰乱字符串 s 得到字符串 t : 给你两个 长度相等 的字符串 s1 和 s2,判断 […]

Continue reading


LeetCode 86 分隔链表

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

给你一个链表的头节点 head 和一个特定值 x ,请你对链表进行分隔,使得所有 小于 x 的节点都出现在 大 […]

Continue reading


LeetCode 85 最大矩形

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

给定一个仅包含 0 和 1 、大小为 rows x cols 的二维二进制矩阵,找出只包含 1 的最大矩形,并 […]

Continue reading


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


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