filmov
tv
Golang | Find the smallest number of array or slice in Go / Golang

Показать описание
Find the smallest number of array or slice in Go / Golang
Examples
* A1 = [1, 5, 6, 7, 8, 10, 3, 6, 0, 11]; Minmum number is 11
* A2 = [15, 20, 16, 19, 18, 110, 13, 16, 9, 11]; Minmum number is 9
Examples
* A1 = [1, 5, 6, 7, 8, 10, 3, 6, 0, 11]; Minmum number is 11
* A2 = [15, 20, 16, 19, 18, 110, 13, 16, 9, 11]; Minmum number is 9