Content-Length: 287067 | pFad | http://github.com/hajin-kim/algorithm-leetcode/commit/b0aaffac50277a8ebc641317393fd2a3269f27b7

C3 Create README - LeetHub · hajin-kim/algorithm-leetcode@b0aaffa · GitHub
Skip to content

Commit b0aaffa

Browse files
committed
Create README - LeetHub
1 parent 738bfcd commit b0aaffa

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

0046-permutations/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<h2><a href="https://leetcode.com/problems/permutations/">46. Permutations</a></h2><h3>Medium</h3><hr><p>Given an array <code>nums</code> of distinct integers, return all the possible <span data-keyword="permutation-array">permutations</span>. You can return the answer in <strong>any order</strong>.</p>
2+
3+
<p>&nbsp;</p>
4+
<p><strong class="example">Example 1:</strong></p>
5+
<pre><strong>Input:</strong> nums = [1,2,3]
6+
<strong>Output:</strong> [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]
7+
</pre><p><strong class="example">Example 2:</strong></p>
8+
<pre><strong>Input:</strong> nums = [0,1]
9+
<strong>Output:</strong> [[0,1],[1,0]]
10+
</pre><p><strong class="example">Example 3:</strong></p>
11+
<pre><strong>Input:</strong> nums = [1]
12+
<strong>Output:</strong> [[1]]
13+
</pre>
14+
<p>&nbsp;</p>
15+
<p><strong>Constraints:</strong></p>
16+
17+
<ul>
18+
<li><code>1 &lt;= nums.length &lt;= 6</code></li>
19+
<li><code>-10 &lt;= nums[i] &lt;= 10</code></li>
20+
<li>All the integers of <code>nums</code> are <strong>unique</strong>.</li>
21+
</ul>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/hajin-kim/algorithm-leetcode/commit/b0aaffac50277a8ebc641317393fd2a3269f27b7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy