Skip to content

Commit eb0794d

Browse files
Update README.md
1 parent 37e669f commit eb0794d

File tree

1 file changed

+1
-5
lines changed
  • solution/0952.Largest Component Size by Common Factor

1 file changed

+1
-5
lines changed

solution/0952.Largest Component Size by Common Factor/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,7 @@ class Solution {
111111
}
112112
```
113113

114-
但是这个代码其实会超时,因为中间的遍历逻辑会耗费很长的时间,时间复杂度为
115-
$$
116-
O(n^2)
117-
$$
118-
。因此我们需要更快一点的解法。
114+
但是这个代码其实会超时,因为中间的遍历逻辑会耗费很长的时间,时间复杂度为 O(n^{2})。因此我们需要更快一点的解法。
119115

120116
### 优化版本
121117

0 commit comments

Comments
 (0)