Which of the options is an example of divide-and-conquer paradigm?
a. Quicksort
b. Mergesort
c. Binary
d. All of the options
1
Expert's answer
2015-04-23T03:12:19-0400
Answer:d. All of the options
Many useful algorithms arerecursive in structure, they makes a recursive call to itself until a base (or boundary) condition of a problem is not reached. These algorithms closely follow the divide-and-conquer approach. Applications of divide-and-conquerstrategy are Binary search, Quick sort,Merge sort, multiplication of two n-bit numbers and V. Strassen‘s matrix multiplications.
Comments
Leave a comment