File tree Expand file tree Collapse file tree 9 files changed +48
-29
lines changed Expand file tree Collapse file tree 9 files changed +48
-29
lines changed Original file line number Diff line number Diff line change 1
- # Two Sum
1
+ # Two Sum(两数之和)
2
2
** LeetCode 1**
3
3
4
4
- [ 英文版] ( https://leetcode.com/problems/two-sum/ )
Original file line number Diff line number Diff line change 1
- # Three Sum
1
+ # Three Sum (三数之和)
2
2
** LeetCode 15**
3
3
4
4
- [ 英文版] ( https://leetcode.com/problems/3sum/ )
Original file line number Diff line number Diff line change 1
- # Majority Element
2
- LeetCode 169
3
- [ English] ( https://leetcode.com/problems/majority-element/ )
4
- [ 中文] ( https://leetcode-cn.com/problems/majority-element/ )
1
+ # Majority Element(求众数)
2
+ ** LeetCode 169**
3
+
4
+ - [ 英文版] ( https://leetcode.com/problems/majority-element/ )
5
+
6
+ - [ 中文版] ( https://leetcode-cn.com/problems/majority-element/ )
5
7
6
8
## 题目
7
9
给定一个大小为 n 的数组,找到其中的众数。众数是指在数组中出现次数大于 ⌊ n/2 ⌋ 的元素。
Original file line number Diff line number Diff line change 1
- # Fizz Buzz
2
- LeetCode 412
3
- [ English] ( https://leetcode.com/problems/fizz-buzz/ )
4
- [ 中文] ( https://leetcode-cn.com/problems/fizz-buzz/ )
1
+ # Fizz Buzz(3 和 5 的倍数)
2
+ ** LeetCode 412**
3
+
4
+ - [ 英文版] ( https://leetcode.com/problems/fizz-buzz/ )
5
+
6
+ - [ 中文版] ( https://leetcode-cn.com/problems/fizz-buzz/ )
5
7
6
8
## 题目
7
9
写一个程序,输出从 1 到 n 数字的字符串表示。
Original file line number Diff line number Diff line change 1
- # Merge Sorted Array
2
- LeetCode 88
3
- [ English] ( https://leetcode.com/problems/merge-sorted-array/ )
4
- [ 中文] ( https://leetcode-cn.com/problems/merge-sorted-array/ )
1
+ # Merge Sorted Array(合并两个有序数组)
2
+
3
+ ** LeetCode 88**
4
+
5
+ - [ 英文版] ( https://leetcode.com/problems/merge-sorted-array/ )
6
+
7
+ - [ 中文版] ( https://leetcode-cn.com/problems/merge-sorted-array/ )
5
8
6
9
## 题目
7
10
给定两个有序整数数组 nums1 和 nums2,将 nums2 合并到 nums1 中,使得 num1 成为一个有序数组。
Original file line number Diff line number Diff line change 1
- # First Missing Positive
2
- LeetCode 41
3
- [ English] ( https://leetcode.com/problems/first-missing-positive/ )
4
- [ 中文] ( https://leetcode-cn.com/problems/first-missing-positive/ )
1
+ # First Missing Positive(缺失的第一个正数)
2
+
3
+ ** LeetCode 41**
4
+
5
+ - [ 英文版] ( https://leetcode.com/problems/first-missing-positive/ )
6
+
7
+ - [ 中文版] ( https://leetcode-cn.com/problems/first-missing-positive/ )
5
8
6
9
## 题目
7
10
给定一个未排序的整数数组,找出其中没有出现的最小的正整数。
Original file line number Diff line number Diff line change 1
- # Kth Largest Element in an Array
2
- LeetCode 215
3
- [ English] ( https://leetcode.com/problems/kth-largest-element-in-an-array/ )
4
- [ 中文] ( https://leetcode-cn.com/problems/kth-largest-element-in-an-array/ )
1
+ # Kth Largest Element in an Array(数组中的第K个最大元素)
2
+
3
+ ** LeetCode 215**
4
+
5
+ - [ 英文版] ( https://leetcode.com/problems/kth-largest-element-in-an-array/ )
6
+
7
+ - [ 中文版] ( https://leetcode-cn.com/problems/kth-largest-element-in-an-array/ )
5
8
6
9
## 题目
7
10
在未排序的数组中找到第 k 个最大的元素。请注意,你需要找的是数组排序后的第 k 个最大的元素,而不是第 k 个不同的元素。
Original file line number Diff line number Diff line change 1
1
# Single Number(数组中只出现一次的数)
2
- LeetCode 136
3
- [ English] ( https://leetcode.com/problems/single-number/ )
4
- [ 中文] ( https://leetcode-cn.com/problems/single-number/ )
2
+
3
+ ** LeetCode 136**
4
+
5
+ - [ 英文版] ( https://leetcode.com/problems/single-number/ )
6
+
7
+ - [ 中文版] ( https://leetcode-cn.com/problems/single-number/ )
5
8
6
9
## 题目
7
10
给定一个非空整数数组,除了某个元素只出现一次以外,其余每个元素均出现两次。找出那个只出现了一次的元素。
Original file line number Diff line number Diff line change 1
- # Find All Duplicates in an Array
2
- LeetCode 442
3
- [ English] ( https://leetcode.com/problems/find-all-duplicates-in-an-array/ )
4
- [ 中文] ( https://leetcode-cn.com/problems/find-all-duplicates-in-an-array/ )
1
+ # Find All Duplicates in an Array(数组中重复的数据)
2
+
3
+ ** LeetCode 442**
4
+
5
+ - [ 英文版] ( https://leetcode.com/problems/find-all-duplicates-in-an-array/ )
6
+
7
+ - [ 中文版] ( https://leetcode-cn.com/problems/find-all-duplicates-in-an-array/ )
5
8
6
9
## 题目
7
10
给定一个整数数组 a,其中1 ≤ a[ i] ≤ n (n为数组长度), 其中有些元素出现两次而其他元素出现一次。
You can’t perform that action at this time.
0 commit comments