Question DSA-SRCH-0074
HardTernary search finds the maximum of a unimodal function. How many function evaluations per step, and how much of the range is removed?
- A.
2 evaluations, one third removed
- B.
1 evaluation, half removed
- C.
Sign up free to see the answer and a step-by-step explanation.