西门摸鱼

Author: feelshu

LeetCode 21 合并两个有序链表

2022年8月26日 feelshu Leave a comment 算法

题目: 将两个升序链表合并为一个新的 升序 链表并返回。新链表是通过拼接给定的两个链表的所有节点组成的。&nb […]

Continue reading


LeetCode 20 有效的括号

2022年8月26日 feelshu Leave a comment 算法

题目: 给定一个只包括 ‘(‘,’)’,'{‘,& […]

Continue reading


LeetCode 19 删除链表的倒数第N个结点

2022年8月26日2022年8月26日 feelshu Leave a comment 算法

题目: 给你一个链表,删除链表的倒数第 n 个结点,并且返回链表的头结点。 解题: 计算链表长度,给链表一个头 […]

Continue reading


LeetCode 18 四数之和

2022年8月26日 feelshu Leave a comment 算法

题目: 给你一个由 n 个整数组成的数组 nums ,和一个目标值 target 。请你找出并返回满足下述全部 […]

Continue reading


LeetCode 17 电话号码的字母组合

2022年8月26日2022年8月26日 feelshu Leave a comment 算法

题目: 给定一个仅包含数字 2-9 的字符串,返回所有它能表示的字母组合。答案可以按 任意顺序 返回。 给出数 […]

Continue reading


LeetCode 16 最接近的三数之和

2022年8月26日2022年8月26日 feelshu Leave a comment 算法

题目: 给你一个长度为 n 的整数数组 nums 和 一个目标值 target。请你从 nums 中选出三个整 […]

Continue reading


LeetCode 15 三数之和

2022年8月26日2022年8月26日 feelshu Leave a comment 算法

题目: 给你一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c ,使得 a […]

Continue reading


LeetCode 14 最长公共前缀

2022年8月26日2022年8月26日 feelshu Leave a comment 算法

题目: 编写一个函数来查找字符串数组中的最长公共前缀。 如果不存在公共前缀,返回空字符串 “&#8 […]

Continue reading


LeetCode 13 罗马数字转整数

2022年8月26日2022年8月26日 feelshu Leave a comment 算法

题目: 罗马数字包含以下七种字符:I, V, X, L,C,D 和 M。 例如, 罗马数字 2 写作 II , […]

Continue reading


LeetCode 12 整数转罗马数字

2022年8月26日2022年8月26日 feelshu Leave a comment 算法

题目: 罗马数字包含以下七种字符:I, V, X, L,C,D 和 M。 例如, 罗马数字 2 写做 II , […]

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