Divide and Conquer
Divide and Conquer is an algorithmic paradigm used in many problems and algorithms . Some of the most common algorithms use divide and conquer principle and are highly effective.A Divide and Conquer algorithm solves a problem in 3 steps :
- Divide: Break the given problem into subproblems of same type.
- Conquer: Recursively solve these subproblems
- Combine: Appropriately combine the answers
Resources -
Comments
Post a Comment