Divide and Conquer Algorithm

Last Updated : 20 Dec, 2025

Divide and Conquer algorithm is a problem-solving strategy that involves.

  • Divide : Break the given problem into smaller non-overlapping problems.
  • Conquer : Solve Smaller Problems
  • Combine : Use the Solutions of Smaller Problems to find the overall result.

Examples of Divide and Conquer are Merge Sort, Quick Sort, Binary Search and Closest Pair of Points.

  • There is no need of explicit combine step in some algorithms like Binary Search and Quick Sort. Although in Merge Sort, the combine step is the main step.
  • The divide step can be trivial in some algorithms (like in Merge Sort and Binary Search, we simply divide in two equal halves). The divide step can be complex in some algorithms like Quick Sort.

The following image shows working of Divide and Conquer to sort an array using Merge Sort.

arr_

Basics

Standard Algorithms

Practice problems

Practice Standard Algorithms

Quick Links :

Comment