Skip to content

Commit

Permalink
取消了原本的普通文本代码段
Browse files Browse the repository at this point in the history
  • Loading branch information
LetMeFly666 committed Dec 8, 2022
1 parent 9c7f2a0 commit 02dfcd2
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,7 @@ tags: [题解, LeetCode, 中等, 贪心, 数组, 哈希表, 计数]
## 方法一:贪心 + 计数

<!--
假设两个数组的初始值分别为```1 1 2 2 2 2```和```6 3 3 3 3 3```,那么初始差值为$11$
那么,将第一个数组中的$1$变成$6$能增加
```
1 1 2 2 2 2
6 3 3 3 3 3
```
这里取消了原本的普通文本代码段
-->

两个数组中的元素的初始和可能不同。为了方便,我们假设第一个数组的元素和**小于**第二个数组(不是的话交换两个数组的地址即可)
Expand Down

0 comments on commit 02dfcd2

Please sign in to comment.