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.
发布时间:2025-06-29 23:07:39