mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-12 19:01:47 +08:00
批量更新数据
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<p>给你一个数组 <code>arr</code> ,数组中有 <code>n</code> 个 <b>非空</b> 字符串。</p>
|
||||
|
||||
<p>请你求出一个长度为 <code>n</code> 的字符串 <code>answer</code> ,满足:</p>
|
||||
<p>请你求出一个长度为 <code>n</code> 的字符串数组 <code>answer</code> ,满足:</p>
|
||||
|
||||
<ul>
|
||||
<li><code>answer[i]</code> 是 <code>arr[i]</code> <strong>最短</strong> 的子字符串,且它不是 <code>arr</code> 中其他任何字符串的子字符串。如果有多个这样的子字符串存在,<code>answer[i]</code> 应该是它们中字典序最小的一个。如果不存在这样的子字符串,<code>answer[i]</code> 为空字符串。</li>
|
||||
|
Reference in New Issue
Block a user