Translate

Visit to www.mrmcse.com

01 April 2018

How does Divide and Conquer method work




Divide and Conquer is an algorithm design paradigm based on multi-branched recursion. A divide and conquer algorithm works by recursively breaking down a problem into two or more sub-problems of the same or related type, until these become simple enough to be solved directly. The solutions to the sub-problems are then combined to give a solution to the original problem.


Applications of Divide and Conquer Method:

(i) Binary search Algorithm.

(ii) Finding the maximum and minimum.

(iii) Merge sort Algorithm.

(iv) Selection sort Algorithm.

(v) Quick sort Algorithm.



No comments:

Post a Comment