Python二分查找函数空缺位置应填入的正确代码是哪项?
def binary_search(arr, x):
low = 0
high = len(arr) - 1
while low <= high:
{
}
return -1
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析