Enter an algorithm and input to start visualization.
About Ternary Search
A divide and conquer searching technique. It is similar to binary search but divides the array into three parts and determines which part the key lies in.
Code Editor
The code is for reference. Editing it won't affect the visualization.