You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package editdistance
|
|
|
|
func min(nums ...int) int {
|
|
min := nums[0]
|
|
for _, v := range nums {
|
|
if v < min {
|
|
min = v
|
|
}
|
|
}
|
|
return min
|
|
}
|
|
|