wagner-fisher & werner algorithms working

This commit is contained in:
Lukas Werner
2022-06-13 11:17:19 -07:00
parent f78b140bf1
commit ab87dbb8ee
7 changed files with 114 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
package editdistance
func min(nums ...int) int {
min := nums[0]
for _, v := range nums {
if v < min {
min = v
}
}
return min
}