The main assumption that must be made in order to use binary search to determine whether a collection contains a target value is that:
选项:
A:The target value is in the collection.;
B:The number of values in the collection is odd.;
C:The number of values in the collection is a power of two.;
D:The values in the collection are ordered from smallest to largest.
发布时间:2024-05-13 14:51:50