Question: explain in plain language what the binary search algorithm does. Imagine that you need to search a really long array of numbers (say, a million).
explain in plain language what the binary search algorithm does. Imagine that you need to search a really long array of numbers (say, a million). This would be a tortuous task for a human. Explain how binary search makes this a trivial operation for a computer, which is great at doing redundant things!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
