1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-10-21 21:16:45 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
2025-09-29 14:43:44 +08:00
parent 2862a227c4
commit 13f2098086
4409 changed files with 168933 additions and 166256 deletions

View File

@@ -2,7 +2,7 @@
<p>同时给你两个长度为 <code>n</code>&nbsp;的整数数组&nbsp;<code>startTime</code>&nbsp;<code>endTime</code>&nbsp;。它们表示这次活动中 <code>n</code>&nbsp;个时间&nbsp;<strong>没有重叠</strong>&nbsp;的会议,其中第&nbsp;<code>i</code>&nbsp;个会议的时间为&nbsp;<code>[startTime[i], endTime[i]]</code>&nbsp;</p>
<p>你可以重新安排 <strong>至多</strong>&nbsp;一个会议,安排的规则是将会议时间平移,且保持原来的 <strong>会议时长</strong>&nbsp;,你的目的是移动会议后 <strong>最大化</strong>&nbsp;相邻两个会议之间的 <strong>最长</strong> 连续空余时间。</p>
<p>你可以重新安排 <strong>至多</strong>&nbsp;一个会议,安排的规则是将会议时间平移,且保持原来的 <strong>会议时长</strong>&nbsp;,你的目的是移动会议后 <strong>最大化</strong>&nbsp;<strong>最长</strong> 连续空余时间。</p>
<p>请你返回重新安排会议以后,可以得到的 <strong>最大</strong>&nbsp;空余时间。</p>