menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
What is the maximum number of elements that will be visited by the binary search algorithm when searching a sorted 45-element array
asked
Apr 18, 2023
7.2k
views
5
votes
What is the maximum number of elements that will be visited by the binary search algorithm when searching a sorted 45-element array
Computers and Technology
high-school
Jitendra Tiwari
asked
by
Jitendra Tiwari
8.6k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
12
votes
The max nukber of elements visited will be 6.
BhavikKama
answered
Apr 22, 2023
by
BhavikKama
8.5k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Jul 1, 2022
99.5k
views
Binary search is a very fast searching algorithm, however it requires a set of numbers to be sorted. a. True b. False
Milvia
asked
Jul 1, 2022
by
Milvia
7.9k
points
Computers and Technology
college
1
answer
3
votes
99.5k
views
asked
Mar 3, 2024
98.1k
views
Considering the following sorted array and the search key as 89, what will be the sequence of keys in the array thatare compared with 89 while binary searching for 89?wCс C20 30 38 47 48 49 51 67 73 75
Lorg
asked
Mar 3, 2024
by
Lorg
7.8k
points
Computers and Technology
high-school
1
answer
1
vote
98.1k
views
asked
Jul 2, 2024
221k
views
What is the binary search algorithm and prove its running time and correctness: Say we have a sorted sequence S of n numbers a₀, a₁,...aₙ-₁ stored in an array A[0, 1, ... n - 1]
Oldbeamer
asked
Jul 2, 2024
by
Oldbeamer
8.4k
points
Computers and Technology
high-school
1
answer
2
votes
221k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Explain why binary codes are used to represent characters, numbers and symbols :)
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org