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

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