Skip to content

Commit 7d3a135

Browse files
Update README.md
1 parent e579a00 commit 7d3a135

File tree

1 file changed

+8
-0
lines changed
  • solution/3400-3499/3470.Permutations IV

1 file changed

+8
-0
lines changed

solution/3400-3499/3470.Permutations IV/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ tags:
111111
#### Python3
112112

113113
```python
114+
114115
from typing import List
115116
from math import factorial
116117
import heapq
@@ -183,11 +184,13 @@ class Solution:
183184
if not fff:
184185
return []
185186
return ppp
187+
186188
```
187189

188190
#### Java
189191

190192
```java
193+
191194
import java.util.*;
192195

193196
class DPHelper {
@@ -345,11 +348,13 @@ class Solution {
345348
return ans;
346349
}
347350
}
351+
348352
```
349353

350354
#### C++
351355

352356
```cpp
357+
353358
class Solution {
354359
long long f[105];
355360
public:
@@ -390,11 +395,13 @@ public:
390395
return ans;
391396
}
392397
};
398+
393399
```
394400
395401
#### Go
396402
397403
```go
404+
398405
func permute(n int, k int64) []int {
399406
var f [105]int64
400407
f[0] = 1
@@ -446,6 +453,7 @@ func permute(n int, k int64) []int {
446453
}
447454
return ans
448455
}
456+
449457
```
450458

451459
<!-- tabs:end -->

0 commit comments

Comments
 (0)