Skip to content

Commit ded3312

Browse files
author
hero
committed
最长公共前缀
1 parent 39f162c commit ded3312

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

leet_code/longestCommonPrefix_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package leet_code
22

33
import (
4-
"fmt"
54
"testing"
65
)
76

@@ -30,7 +29,6 @@ func longestCommonPrefix(strs []string) string {
3029
enFor = true
3130
break
3231
}
33-
fmt.Println(v1[i : i+1])
3432
if string(v) == v1[i:i+1] {
3533
add = true
3634
} else {

0 commit comments

Comments
 (0)