DIVIDE AND CONQUER
APROACH TOWARDS
PROBLEM SOLUTION
RASHID ANSARI
170847980002
MTECH(ACDS)
Divide and Conquer
 Basic Idea……
If the problem is easy, solve it directly
If the problem cannot be solved as is, decompose it into smaller
parts,.Solve the smaller parts
Divide and Conquer
You should think of this algorithm as having three parts:
 Divide the problem into a number of subproblems that are
smaller instances of the same problem.
 Conquer the subproblems by solving them recursively.If they
are small enough, solve the subproblems as base cases.
 Combine the solutions to the subproblems into the solution
for the original problem.
Divide and conquer
Applications
 Merge Sort
 Quick Sort
 Binary Search
 Maximum sub-array problem
MERGE SORT
ADVANTAGES
Solving difficult problems
Parallelism
Memory Access
THANKYOU

Divide and Conquer aproach towards problem solution