Question DSA-SRCH-0067
HardBinary search on the answer requires the feasibility test to be:
- A.
Random
- B.
Always true
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Searching and Binary Search question
Binary search on the answer requires the feasibility test to be:
Random
Always true
Sign up free to see the answer and a step-by-step explanation.
Constant time
Monotonic: once feasible at some value, feasible for all larger (or smaller) values