第27911题 单选题
使用二分查找算法查找指定目标元素时,本次查找的总元素比较次数是多少?

已知升序有序数组为[3, 7, 12, 18, 25, 33, 41, 52, 67, 78](共10个元素),使用标准二分查找算法查找元素33。注:每次将查找值与当前查找区间的中间元素进行比对,计为1次比较。

{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析