mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-13 19:31:42 +08:00
add leetcode problem-cn part5
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<p>给你一个字符串 <code>s</code> ,其中包含字母顺序打乱的用英文单词表示的若干数字(<code>0-9</code>)。按 <strong>升序</strong> 返回原始的数字。</p>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><strong>示例 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>输入:</strong>s = "owoztneoer"
|
||||
<strong>输出:</strong>"012"
|
||||
</pre>
|
||||
|
||||
<p><strong>示例 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>输入:</strong>s = "fviefuro"
|
||||
<strong>输出:</strong>"45"
|
||||
</pre>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p><strong>提示:</strong></p>
|
||||
|
||||
<ul>
|
||||
<li><code>1 <= s.length <= 10<sup>5</sup></code></li>
|
||||
<li><code>s[i]</code> 为 <code>["e","g","f","i","h","o","n","s","r","u","t","w","v","x","z"]</code> 这些字符之一</li>
|
||||
<li><code>s</code> 保证是一个符合题目要求的字符串</li>
|
||||
</ul>
|
Reference in New Issue
Block a user