Skip to content

Commit 6e60937

Browse files
author
Lane Zhang (张健)
authored
Update 0239.滑动窗口最大值.md
Change `O(n * log(n))` to `O(n log(n))`
1 parent 97c4d1b commit 6e60937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

problems/0239.滑动窗口最大值.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ class Solution:
340340
```
341341

342342
#### 新解法:用"堆排序"实现
343-
* 时间复杂度:`O(n * log(n))`, 比`单调队列`解法要慢。
343+
* 时间复杂度:`O(n log(n))`, 比`单调队列`解法要慢。
344344

345345
```python
346346
import heapq

0 commit comments

Comments
 (0)