mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-22 21:46:46 +08:00
存量题库数据更新
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<p>You are given a string <code>s</code> formed by digits and <code>'#'</code>. We want to map <code>s</code> to English lowercase characters as follows:</p>
|
||||
|
||||
<ul>
|
||||
<li>Characters (<code>'a'</code> to <code>'i')</code> are represented by (<code>'1'</code> to <code>'9'</code>) respectively.</li>
|
||||
<li>Characters (<code>'j'</code> to <code>'z')</code> are represented by (<code>'10#'</code> to <code>'26#'</code>) respectively.</li>
|
||||
<li>Characters (<code>'a'</code> to <code>'i'</code>) are represented by (<code>'1'</code> to <code>'9'</code>) respectively.</li>
|
||||
<li>Characters (<code>'j'</code> to <code>'z'</code>) are represented by (<code>'10#'</code> to <code>'26#'</code>) respectively.</li>
|
||||
</ul>
|
||||
|
||||
<p>Return <em>the string formed after mapping</em>.</p>
|
||||
@@ -10,7 +10,7 @@
|
||||
<p>The test cases are generated so that a unique mapping will always exist.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "10#11#12"
|
||||
@@ -18,7 +18,7 @@
|
||||
<strong>Explanation:</strong> "j" -> "10#" , "k" -> "11#" , "a" -> "1" , "b" -> "2".
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "1326#"
|
||||
|
Reference in New Issue
Block a user