网站首页  情感咨询  情感美文  情感百科  情感生活  学习充电  旧版美文

请输入您要查询的词汇:

 

词汇 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.

随便看

 

依恋情感网英汉例句词典收录3870147条英语例句词条,基本涵盖了全部常用英语单词的释义及例句,是英语学习的有利工具。

 

Copyright © 2004-2024 Yiyi18.com All Rights Reserved
京ICP备2021023879号 更新时间:2025/8/10 8:14:31