BinarySearch


searches sorted list l for key k and gives the position of l containing k, if k is present in l. Otherwise, if k is absent in l, the function returns where k falls between the elements of l in positions and .


gives the position of k in the list obtained from l by applying f to each element in l.

更多信息更多信息