MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / ternary_search.py

File ternary_search.py

searches/ternary_search.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2This is a type of divide and conquer algorithm which divides the search space into
33 parts and finds the target value based on the property of the array or list
4(usually monotonic property).

Callers

nothing calls this directly

Calls 3

ite_ternary_searchFunction · 0.85
rec_ternary_searchFunction · 0.85
splitMethod · 0.80

Tested by

no test coverage detected