Skip to content
ı
Workspace
Visualizer
Search anything…
⌘ K
Desk
Path
Problems
Review
More
Library
/
Ternary Search
searching
Best
O(1)
Avg
O(log₃ n)
Worst
O(log₃ n)
Space
O(1)
Preparing Ternary Search...
Divides sorted range into three equal parts to determine which third contains the target.