⚙️AlgorithmIntermediate
Ternary Search
Ternary search finds the maximum or minimum of a unimodal function on a line by probing two interior points and discarding one third of the interval each step.
#ternary search#unimodal function#convex optimization+12