1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-12 19:01:47 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

批量更新数据

This commit is contained in:
2025-01-09 20:29:41 +08:00
parent 04ecea043d
commit 48cdd06c2b
5053 changed files with 156164 additions and 135322 deletions

View File

@@ -1,6 +1,6 @@
<p>给你一个数组 <code>arr</code>&nbsp;,数组中有 <code>n</code>&nbsp;<b>非空</b>&nbsp;字符串。</p>
<p>请你求出一个长度为 <code>n</code>&nbsp;的字符串&nbsp;<code>answer</code>&nbsp;,满足:</p>
<p>请你求出一个长度为 <code>n</code>&nbsp;的字符串数组&nbsp;<code>answer</code>&nbsp;,满足:</p>
<ul>
<li><code>answer[i]</code>&nbsp;<code>arr[i]</code>&nbsp;<strong>最短</strong>&nbsp;的子字符串,且它不是 <code>arr</code>&nbsp;中其他任何字符串的子字符串。如果有多个这样的子字符串存在,<code>answer[i]</code>&nbsp;应该是它们中字典序最小的一个。如果不存在这样的子字符串,<code>answer[i]</code>&nbsp;为空字符串。</li>