mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 23:41:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<p>Return <em>the phone number after formatting.</em></p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> number = "1-23-45 6"
|
||||
@@ -24,7 +24,7 @@ Step 2: There are 3 digits remaining, so put them in a single block of length 3.
|
||||
Joining the blocks gives "123-456".
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> number = "123 4-567"
|
||||
@@ -35,7 +35,7 @@ Step 2: There are 4 digits left, so split them into two blocks of length 2. The
|
||||
Joining the blocks gives "123-45-67".
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> number = "123 4-5678"
|
||||
|
Reference in New Issue
Block a user