摘要: LeetCode 1491. Average Salary Excluding the Minimum and Maximum Salary () 题目 链接 https://leetcode-cn.com/problems/average-salary-excluding-the-minimum- 阅读全文
posted @ 2022-04-24 18:43 cheng102e 阅读(36) 评论(0) 推荐(0) 编辑
摘要: LeetCode 1523. Count Odd Numbers in an Interval Range (在区间范围内统计奇数数目) 题目 链接 https://leetcode-cn.com/problems/count-odd-numbers-in-an-interval-range/ 问题 阅读全文
posted @ 2022-04-24 18:19 cheng102e 阅读(29) 评论(0) 推荐(0) 编辑
摘要: LeetCode 18. 4Sum (四数之和) 题目 链接 https://leetcode-cn.com/problems/4sum/ 问题描述 给你一个由 n 个整数组成的数组 nums ,和一个目标值 target 。请你找出并返回满足下述全部条件且不重复的四元组 [nums[a], num 阅读全文
posted @ 2022-04-24 17:43 cheng102e 阅读(15) 评论(0) 推荐(0) 编辑
摘要: LeetCode 15. 3Sum (三数之和) 题目 链接 https://leetcode-cn.com/problems/3sum/ 问题描述 给你一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c ,使得 a + b + c = 0 ?请你找出所有和为 0 阅读全文
posted @ 2022-04-24 17:41 cheng102e 阅读(21) 评论(0) 推荐(0) 编辑
摘要: LeetCode 1137. N-th Tribonacci Number (第 N 个泰波那契数) 题目 链接 https://leetcode-cn.com/problems/n-th-tribonacci-number/ 问题描述 泰波那契序列 Tn 定义如下: T0 = 0, T1 = 1, 阅读全文
posted @ 2022-04-24 16:24 cheng102e 阅读(13) 评论(0) 推荐(0) 编辑