mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-08 00:41:42 +08:00
存量题库数据更新
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<p>Given an integer array <code>nums</code>, return <em>the length of its longest harmonious subsequence among all its possible subsequences</em>.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
<p>A <strong>subsequence</strong> of array is a sequence that can be derived from the array by deleting some or no elements without changing the order of the remaining elements.</p>
|
||||
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
<p> </p>
|
||||
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
|
||||
|
||||
|
||||
<pre>
|
||||
|
||||
<strong>Input:</strong> nums = [1,3,2,2,5,2,3,7]
|
||||
|
||||
<strong>Output:</strong> 5
|
||||
<strong>Output:</strong> 5
|
||||
|
||||
<strong>Explanation:</strong> The longest harmonious subsequence is [3,2,2,2,3].
|
||||
|
||||
|
Reference in New Issue
Block a user