Skip to content

Commit cad04fa

Browse files
committed
파일명 에러 수정
1 parent e6ba55f commit cad04fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

longest-increasing-subsequence/gmlwls.kt renamed to longest-increasing-subsequence/gmlwls96.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ class Solution {
77
val count = IntArray(nums.size)
88
count[0] = 1
99
var prev = nums[0]
10-
for (i in 1 until nums.size){
11-
if(prev < nums[i]){
12-
count[i] += count[i-1] +1
13-
}else {
14-
count[i] = count[i-1]
10+
for (i in 1 until nums.size) {
11+
if (prev < nums[i]) {
12+
count[i] += count[i - 1] + 1
13+
} else {
14+
count[i] = count[i - 1]
1515
}
1616
prev = nums[i]
1717
}

0 commit comments

Comments
 (0)