Skip to content

Commit bc89d66

Browse files
yanglbmeidoocs
authored andcommitted
style: format code and docs with prettier
1 parent f10773d commit bc89d66

File tree

1 file changed

+2
-2
lines changed
  • lcof2/剑指 Offer II 104. 排列的数目

1 file changed

+2
-2
lines changed

lcof2/剑指 Offer II 104. 排列的数目/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ func combinationSum4(nums []int, target int) int {
143143

144144
#### Swift
145145

146-
```swift
146+
```swift
147147
class Solution {
148148
func combinationSum4(_ nums: [Int], _ target: Int) -> Int {
149149
var dp = [Int](repeating: 0, count: target + 1)
150150
dp[0] = 1
151-
151+
152152
for i in 1...target {
153153
for num in nums {
154154
if i >= num, dp[i] <= Int.max - dp[i - num] {

0 commit comments

Comments
 (0)