mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
存量题库数据更新
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<p>After merging the accounts, return the accounts in the following format: the first element of each account is the name, and the rest of the elements are emails <strong>in sorted order</strong>. The accounts themselves can be returned in <strong>any order</strong>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> accounts = [["John","johnsmith@mail.com","john_newyork@mail.com"],["John","johnsmith@mail.com","john00@mail.com"],["Mary","mary@mail.com"],["John","johnnybravo@mail.com"]]
|
||||
@@ -17,7 +17,7 @@ We could return these lists in any order, for example the answer [['Mary'
|
||||
['John', 'john00@mail.com', 'john_newyork@mail.com', 'johnsmith@mail.com']] would still be accepted.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> accounts = [["Gabe","Gabe0@m.co","Gabe3@m.co","Gabe1@m.co"],["Kevin","Kevin3@m.co","Kevin5@m.co","Kevin0@m.co"],["Ethan","Ethan5@m.co","Ethan4@m.co","Ethan0@m.co"],["Hanzo","Hanzo3@m.co","Hanzo1@m.co","Hanzo0@m.co"],["Fern","Fern5@m.co","Fern1@m.co","Fern0@m.co"]]
|
||||
@@ -30,7 +30,7 @@ We could return these lists in any order, for example the answer [['Mary'
|
||||
<ul>
|
||||
<li><code>1 <= accounts.length <= 1000</code></li>
|
||||
<li><code>2 <= accounts[i].length <= 10</code></li>
|
||||
<li><code>1 <= accounts[i][j] <= 30</code></li>
|
||||
<li><code>1 <= accounts[i][j].length <= 30</code></li>
|
||||
<li><code>accounts[i][0]</code> consists of English letters.</li>
|
||||
<li><code>accounts[i][j] (for j > 0)</code> is a valid email.</li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user