NAIMMCQ
Programming
In an ordered array of size N, binary search finds an answer in 10 steps maximum. What is the max number of steps will the binary search need for an array of size 2 * N?
In an ordered array of size N, binary search finds an answer in 10 steps maximum. What is the max number of steps will the binary search need for an array of size 2 * N?
In an ordered array of size N, binary search finds an answer in 10 steps maximum. What is the max number of steps will the binary search need for an array of size 2 * N?
- N
- 20
- N+1
- 11