F6SQX7AKDBZRO2W6G233FZWFBKF5GQXBX64WCT3TSZ5TLZUAMPLQC // Package binarysearch is a simple binary search algorithm.package binarysearch// SearchInts tries to fing target in input slice.func SearchInts(slice []int, target int) int {left := 0right := len(slice) - 1for left <= right {mark := (left + right) / 2switch {case slice[mark] < target:left = mark + 1case slice[mark] > target:right = mark - 1default:return mark}}return -1}