西门摸鱼

Month: 12 月 2022

LeetCode 43 字符串相乘

2022年12月30日2022年12月30日 feelshu Leave a comment 算法

给定两个以字符串形式表示的非负整数 num1 和 num2,返回 num1 和 num2 的乘积,它们的乘积也 […]

Continue reading


LeetCode 42 接雨水

2022年12月27日2022年12月27日 feelshu Leave a comment 算法

给定 n 个非负整数表示每个宽度为 1 的柱子的高度图,计算按此排列的柱子,下雨之后能接多少雨水。示例 1: […]

Continue reading


LeetCode 41 缺失的第一个正数

2022年12月17日2022年12月17日 feelshu Leave a comment 算法

给你一个未排序的整数数组 nums ,请你找出其中没有出现的最小的正整数。 请你实现时间复杂度为 O(n) 并 […]

Continue reading


LeetCode 40 组合总和 II

2022年12月16日 feelshu Leave a comment 算法

给定一个候选人编号的集合 candidates 和一个目标数 target ,找出 candidates 中所 […]

Continue reading


LeetCode 39 组合总和

2022年12月13日 feelshu Leave a comment 算法

题目:给你一个 无重复元素 的整数数组 candidates 和一个目标整数 target ,找出 candi […]

Continue reading


LeetCode 38 外观数列

2022年12月13日2022年12月13日 feelshu Leave a comment 算法

题目: 给定一个正整数 n ,输出外观数列的第 n 项。 「外观数列」是一个整数序列,从数字 1 开始,序列中 […]

Continue reading


LeetCode 37 解数独

2022年12月13日2022年12月13日 feelshu Leave a comment 算法

题目: 编写一个程序,通过填充空格来解决数独问题。 数独的解法需 遵循如下规则: 数字 1-9 在每一行只能出 […]

Continue reading


近期文章

  • 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