mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-10-21 13:06:47 +08:00
存量题库数据更新
This commit is contained in:
@@ -4,22 +4,22 @@
|
||||
|
||||
<p>如果有多个年份生存人数相同且均为最大值,输出其中最小的年份。</p>
|
||||
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
|
||||
<p><strong>示例:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>输入:</strong>
|
||||
birth = {1900, 1901, 1950}
|
||||
death = {1948, 1951, 2000}
|
||||
birth = [1900, 1901, 1950]
|
||||
death = [1948, 1951, 2000]
|
||||
<strong>输出:</strong> 1901
|
||||
</pre>
|
||||
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
|
||||
<p><strong>提示:</strong></p>
|
||||
|
||||
<ul>
|
||||
<li><code>0 < birth.length == death.length <= 10000</code></li>
|
||||
<li><code>birth[i] <= death[i]</code></li>
|
||||
<li><code>0 < birth.length == death.length <= 10000</code></li>
|
||||
<li><code>birth[i] <= death[i]</code></li>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user