网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Binary chop
释义

Binary chop

中文百科

二分搜索算法 Binary search algorithm

(重定向自Binary chop)
Gesucht ist das Element mit dem Schlüssel G.(Indizes und Rechnungen in grün; \ ganzzahlige Division.)

在计算机科学中,二分搜索英语:binary search),也称折半搜索英语:half-interval search)、对数搜索英语:logarithmic search),是一种在有序数组中查找某一特定元素的搜索算法。搜索过程从数组的中间元素开始,如果中间元素正好是要查找的元素,则搜索过程结束;如果某一特定元素大于或者小于中间元素,则在数组大于或小于中间元素的那一半中查找,而且跟开始一样从中间元素开始比较。如果在某一步骤数组为空,则代表找不到。这种搜索算法每一次比较都使搜索范围缩小一半。

英语百科

Binary search algorithm 二分搜索算法

(重定向自Binary chop)
Gesucht ist das Element mit dem Schlüssel G.(Indizes und Rechnungen in grün; \ ganzzahlige Division.)

In computer science, binary search, also known as half-interval search or logarithmic search, is a search algorithm that finds the position of a target value within a sorted array. It works by comparing the target value to the middle element of the array; if they are not equal, the lower or upper half of the array is eliminated depending on the result and the search is repeated until it is successful.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/21 21:33:40