西门摸鱼

算法

LeetCode 189 轮转数组

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

给定一个整数数组 nums,将数组中的元素向右轮转 k 个位置,其中 k 是非负数。 示例 1: 示例 2: […]

Continue reading


LeetCode 188 买卖股票的最佳时机 IV

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

给定一个整数数组 prices ,它的第 i 个元素 prices[i] 是一支给定的股票在第 i 天的价格, […]

Continue reading


LeetCode 187 重复的DNA序列

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

DNA序列 由一系列核苷酸组成,缩写为 ‘A’, ‘C’, & […]

Continue reading


LeetCode 185 部门工资前三高的所有员工

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

表: Employee 表: Department 公司的主管们感兴趣的是公司每个部门中谁赚的钱最多。一个部门 […]

Continue reading


LeetCode 184 部门工资最高的员工

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

表: Employee 表: Department 编写SQL查询以查找每个部门中薪资最高的员工。按 任意顺序 […]

Continue reading


LeetCode 183 从不订购的客户

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

某网站包含两个表,Customers 表和 Orders 表。编写一个 SQL 查询,找出所有从不订购任何东西 […]

Continue reading


LeetCode 182 查找重复的电子邮箱

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

表: Person 编写一个 SQL 查询来报告所有重复的电子邮件。 请注意,可以保证电子邮件字段不为 NUL […]

Continue reading


LeetCode 181 超过经理收入的员工

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

表:Employee 编写一个SQL查询来查找收入比经理高的员工。 以 任意顺序 返回结果表。 查询结果格式如 […]

Continue reading


LeetCode 180 连续出现的数字

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

表:Logs 编写一个 SQL 查询,查找所有至少连续出现三次的数字。 返回的结果表中的数据可以按 任意顺序 […]

Continue reading


LeetCode 179 最大数

2023年5月7日2023年5月7日 feelshu Leave a comment 算法

给定一组非负整数 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