Ternary Search is an extension of binary Search that allows you to locate the minima or maxima of a unimodal function.
Reading material:
- CP Algorithms [B] - try reading this. Very detailed explanation.
- HackerEarth [B]
Ternary Search is an extension of binary Search that allows you to locate the minima or maxima of a unimodal function.
Reading material: