how to use binary search?
If I have 100 elements in an array
How many times binary search needs to be done?
what is bigo for binary search?
If I have 100 elements in an array
How many times binary search needs to be done?
what is bigo for binary search?
Please solve your homework assignments yourself. I mean, you could even find out using pencil and paper...