Searching AlgorithmsTernary Search
Ternary Search
Divides a sorted range into three parts with two midpoints, discarding two-thirds each step.
Intermediatesorted requireddivide by 3O(log₃ n)
Loading visualization…
Divides a sorted range into three parts with two midpoints, discarding two-thirds each step.