1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-09-12 10:51:42 +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,4 +1,4 @@
<p>给你一个正整数数组 <code>arr</code>(可能存在重复的元素),请你返回可在&nbsp;<strong>一次交换</strong>(交换两数字 <code>arr[i]</code><code>arr[j]</code> 的位置)后得到的、按字典序排列小于 <code>arr</code> 的最大排列。</p>
<p>给你一个正整数数组 <code>arr</code>(可能存在重复的元素),请你返回可在&nbsp;<strong>一次交换</strong>(交换两数字 <code>arr[i]</code><code>arr[j]</code> 的位置)后得到的、按<span data-keyword="lexicographically-smaller-string-alien">字典序</span>排列小于 <code>arr</code> 的最大排列。</p>
<p>如果无法这么操作,就请返回原数组。</p>