Closed harshraj8843 closed 9 months ago
👋🏻 Hey @harshraj8843
💖 Thanks for opening this issue 💖
A team member should be by to give feedback soon.
!assign
!assign
Hey @Redzwinger, this issue is already assigned to @Parvezkhan0! cc/ @codinasion/codinasion
!assign
Hey @av-techspot, this issue is already assigned to @Parvezkhan0! cc/ @codinasion/codinasion
Description
Write a Python program to implement ternary search
Ternary search is a divide and conquer algorithm that can be used to find an element in an array. It is similar to binary search where we divide the array into two parts but in this algorithm, we divide the given array into three parts and determine which has the key (searched element).
Pseudocode
Example
How to contribute
- Comment `!assign` to assign this issue to yourself - Fork this repository - Create a new branch - Save the solution in `program/program/implement-ternary-search/implement_ternary_search.py` - Commit the changes - Create a pull request