Merge pull request #553 from todorex/patch-2

修正leetcode题解笔误
This commit is contained in:
CyC2018 2019-01-29 14:31:29 +08:00 committed by GitHub
commit e68dcc8c41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {