mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<p><em>Return the key of the keypress that had the <strong>longest duration</strong>. If there are multiple such keypresses, return the lexicographically largest key of the keypresses.</em></p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> releaseTimes = [9,29,49,50], keysPressed = "cbcd"
|
||||
@@ -23,7 +23,7 @@ The longest of these was the keypress for 'b' and the second keypress fo
|
||||
'c' is lexicographically larger than 'b', so the answer is 'c'.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> releaseTimes = [12,23,36,46,62], keysPressed = "spuda"
|
||||
|
Reference in New Issue
Block a user