diff --git a/084-sort.go b/084-sort.go index a3fcd77..5d2dab0 100644 --- a/084-sort.go +++ b/084-sort.go @@ -17,6 +17,7 @@ func main() { i := sort.SearchInts(ints, 4) // Binary-search a sorted slice for a value. fmt.Println(i) // Returns the index if found, or `-1` if not. + fmt.Println(sort.SearchInts(ints, 5)) } /*