Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4297f6b

Browse files
Merge pull request SharingSource#409 from SharingSource/ac_oier
✨update: Modify 229 & 447
2 parents 60bb364 + 9fd0c82 commit 4297f6b

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

‎LeetCode/221-230/229. 求众数 II(中等).md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
这是 LeetCode 上的 **[229. 求众数 II](https://leetcode-cn.com/problems/majority-element-ii/solution/gong-shui-san-xie-noxiang-xin-ke-xue-xi-ws0rj/)** ,难度为 **中等**
44

5+
Tag : 「摩尔投票」、「哈希表」
56

67

7-
Tag : 「摩尔投票」、「哈希表」
88

99
给定一个大小为 `n` 的整数数组,找出其中所有出现超过 `⌊ n/3 ⌋` 次的元素。
1010

@@ -32,7 +32,7 @@ Tag : 「摩尔投票」、「哈希表」
3232
* $-10^9 <= nums[i] <= 10^9$
3333

3434

35-
进阶:尝试设计时间复杂度为 O(n)、空间复杂度为 O(1)的算法解决此问题。
35+
进阶:尝试设计时间复杂度为 $O(n)$、空间复杂度为 $O(1)$ 的算法解决此问题。
3636

3737
---
3838

‎LeetCode/441-450/447. 回旋镖的数量(中等).md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
Tag : 「哈希表」、「模拟」
66

7+
8+
79
给定平面上 `n` 对 互不相同 的点 `points`,其中 `points[i] = [xi, yi]` 。回旋镖 是由点 `(i, j, k)` 表示的元组 ,其中 `i``j` 之间的距离和 `i``k` 之间的距离相等(需要考虑元组的顺序)。
810

911
返回平面上所有回旋镖的数量。
@@ -31,10 +33,10 @@ Tag : 「哈希表」、「模拟」
3133
```
3234

3335
提示:
34-
* n == points.length
35-
* 1 <= n <= 500
36-
* points[i].length == 2
37-
* -10ドル^4$ <= xi, yi <= $10^4$
36+
* $n == points.length$
37+
* $1 <= n <= 500$
38+
* $points[i].length == 2$
39+
* -10ドル^4 <= x_i, y_i <= 10^4$
3840
* 所有点都 互不相同
3941

4042
---

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /