An interactive web application that visualizes Divide and Conquer algorithms with step-by-step animations and time complexity analysis. The project helps students understand how problems are divided into smaller subproblems, solved recursively, and combined to produce the final result.
- Step-by-step visualization of the algorithm
- Clear explanation of Divide, Conquer, and Combine phases
- Time complexity analysis using recurrence relations
- Clean and user-friendly interface
- Interactive learning for algorithm understanding
This project demonstrates one Divide and Conquer algorithm such as:
- Sorting
- Merge Sort
- Quick Sort
- Search & Optimization
- Strassen’s Matrix Multiplication
- Closest Pair of Points
- Geometric
- Closest Pair of Points
- Convex Hull
- Matrix
- Matrix Multiplication
- Strassen's Multiplication
1] How Divide and Conquer Works -
Divide and Conquer is a strategy that solves a problem in three steps:
1) Divide – Break the problem into smaller subproblems.
2) Conquer – Solve each subproblem recursively.
3) Combine – Merge the results of the subproblems to form the final solution.
2] Time Complexity Analysis
The time complexity of Divide and Conquer algorithms is often represented using a recurrence relation:
T(n) = aT(n/b) + f(n)
Where: a = no. of subproblems, n/b = size of each subproblem, f(n) = cost of dividing & combining
- Clone the repository
git clone https://github.com/arpit-rath/Divide-Conquer-Algorithm-Visualizer.git - Open the project folder
- Run index.html in your browser



