Skip to content

Commit 038ff2d

Browse files
committed
commit
1 parent 115b0b0 commit 038ff2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DP-LCS.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func LCS(str1 string, str2 string, l1 int, l2 int) [10][10]int {
3232
var d2 [10][10]int //make([][]int, 10, 10)
3333

3434
// i= 0 j=0 len = 0 return 0
35-
if i == 0 || j == 0 {
35+
if l1 == 0 || l2 == 0 {
3636
return d2
3737
}
3838

0 commit comments

Comments
 (0)