修正leetcode题解笔误

只差->之差
This commit is contained in:
rex
2019-01-29 14:29:17 +08:00
committed by GitHub
parent 0fccc54079
commit af181cf1c6

View File

@ -5694,7 +5694,7 @@ Output: 5
Explanation: The longest harmonious subsequence is [3,2,2,2,3].
```
和谐序列中最大数和最小数差正好为 1应该注意的是序列的元素不一定是数组的连续元素。
和谐序列中最大数和最小数差正好为 1应该注意的是序列的元素不一定是数组的连续元素。
```java
public int findLHS(int[] nums) {