Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Concept

Divide and Conquer

Technique

Divide and conquer, originally a political maxim, designates an algorithm design paradigm in which a problem is recursively broken down into two or more sub-problems of the same or related type until they become simple enough to be solved directly, and the solutions to the sub-problems are then combined to give a solution to the original problem. It is the basis of efficient algorithms for many problems, such as sorting with quicksort and merge sort, multiplying large numbers with the Karatsuba algorithm, finding the closest pair of points, top-down parsing, SAT solving and computing the discrete Fourier transform. Algorithms recorded in this atlas are grouped here when their design technique is divide and conquer.

Facts
Core Principle
Solve small instances directly, otherwise divide the problem into two or more smaller instances, solve each recursively and combine the solutions. 1
Connections

In Field

Technique Used By

Sources
1. NIST DADS: divide and conquer
Definition
Quote, Definition
Solve a problem, either directly because solving that instance is easy (typically, because the instance is small) or by dividing it into two or more smaller instances. Each of these smaller instances is recursively solved, and the solutions are combined to produce a solution for the original instance.
View the Source
Wikipedia: Divide-and-conquer algorithm
Wikipedia, lead section
Quote, Wikipedia, lead section
A divide-and-conquer algorithm recursively breaks down a problem into two or more sub-problems of the same or related type, until these become simple enough to be solved directly.
View the Source
Wikipedia: Symbolic regression
Technique Used By: Symbolic Regression, Article body
Quote, Technique Used By: Symbolic Regression, Article body
This is an example of divide and conquer, which reduces the size of the problem to be more manageable.
View the Source
Collective operation (Wikipedia)
Technique Used By: Collective operation, Article body
Quote, Technique Used By: Collective operation, Article body
Since an implementation by means of a sequential for-loop with p − 1 {\displaystyle p-1} iterations becomes a bottleneck, divide-and-conquer approaches are common.
View the Source
IBM: What is a decision tree?
IBMTechnique Used By: Decision tree learning, Section on how decision tree learning works
Quote, Technique Used By: Decision tree learning, Section on how decision tree learning works
Decision tree learning employs a divide and conquer strategy by conducting a greedy search to identify the optimal split points within a tree.
View the Source
Wikipedia: Divide-and-conquer algorithm
WikipediaIn Group: Algorithm Design Strategies, Lead
Quote, In Group: Algorithm Design Strategies, Lead
In computer science, divide and conquer, originally a political maxim, designates an algorithm design paradigm.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.