feat(Go-Tool):

2021/03/02: 新增字符串匹配 暴力匹配、KMP匹配、SunDay匹配算法
            2021/03/02: 修复Rand包随机获取方法
This commit is contained in:
Huangzj
2021-03-02 13:33:07 +08:00
parent 74dd19c675
commit dc5d924a2c
13 changed files with 385 additions and 7 deletions
+2
View File
@@ -23,4 +23,6 @@ func TestHorspool(t *testing.T) {
fmt.Println("该子串的位置为:", Horspool("abcdefghijk", "kdasdsad")) //输出-1
fmt.Println("该子串的位置为:", Horspool("abcdefghijk", "dsadsa")) //输出-1
fmt.Println(shiTable("abdabe"))
}