Vidyalelo
Data Structure · Q34

Searching Algorithms

Programming · Data Structure · question 34

Q34

What is the main advantage of using ternary search over binary search?

A.
It works on unsorted arrays.
B.
It uses less memory.
C.
It is easier to implement.
D.
It divides the array into three parts, potentially reducing the search time.
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board