Single Choice
Easy
QWhich of the following is a disadvantage of the binary search algorithm?
ID: #5729
Divide and Conquer
211 views
Question Info
#5729Q ID
EasyDifficulty
Divide and ConquerTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Answer: It only works on sorted lists
Explanation: The binary search algorithm requires that the list be sorted, which can be a disadvantage if the list is not already sorted or if sorting it is expensive.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic