什么是惰性二进制搜索?

编程入门 行业动态 更新时间:2024-10-18 23:32:25
本文介绍了什么是惰性二进制搜索?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我不知道术语惰性"二进制搜索是否有效,但是我正在阅读一些旧资料,我只是想知道是否有人可以解释惰性二进制搜索的算法并将其与非二进制搜索进行比较. -懒惰的二进制搜索.

I don't know whether the term "Lazy" Binary Search is valid, but I was going through some old materials and I just wanted to know if anyone can explain the algorithm of a Lazy Binary Search and compare it to a non-lazy Binary Search.

比方说,我们有以下数字数组:

Let's say, we have this array of numbers:

2, 11, 13, 21, 44, 50, 69, 88

如何使用惰性二进制搜索查找数字11?

How to look for the number 11 using a Lazy Binary Search?

推荐答案

据我所知,惰性二进制搜索"只是"二进制搜索".

As far as I am aware "Lazy binary search" is just another name for "Binary search".

更多推荐

什么是惰性二进制搜索?

本文发布于:2023-11-26 02:47:59,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1632331.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:惰性

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!