mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-09 17:31:41 +08:00
存量题库数据更新
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
|
||||
<p><strong>示例 1:</strong></p>
|
||||
|
||||
<pre><strong>输入:</strong>n = 2, start = 3
|
||||
<pre>
|
||||
<strong>输入:</strong>n = 2, start = 3
|
||||
<strong>输出:</strong>[3,2,0,1]
|
||||
<strong>解释:</strong>这个排列的二进制表示是 (11,10,00,01)
|
||||
所有的相邻元素都有一位是不同的,另一个有效的排列是 [3,1,0,2]
|
||||
@@ -18,7 +19,8 @@
|
||||
|
||||
<p><strong>示例 2:</strong></p>
|
||||
|
||||
<pre><strong>输出:</strong>n = 3, start = 2
|
||||
<pre>
|
||||
<strong>输入:</strong>n = 3, start = 2
|
||||
<strong>输出:</strong>[2,6,7,5,4,0,1,3]
|
||||
<strong>解释:</strong>这个排列的二进制表示是 (010,110,111,101,100,000,001,011)
|
||||
</pre>
|
||||
|
Reference in New Issue
Block a user