A React web application that visually demonstrates Divide and Conquer algorithms with step-by-step execution.
- Closest Pair of Points: Finds the closest pair in 2D plane (O(n log n))
- Karatsuba Multiplication: Efficient large integer multiplication (O(n^1.585))
It is part of a DAA (Design and Analysis of Algorithms) project.
- Generate sample input files automatically.
- Step-by-step execution of algorithms.
- Visualize intermediate steps to understand algorithm behavior.
- Supports large datasets for both algorithms.
- Node.js (v18+)
- npm (v9+)
Clone the repository:
git clone https://github.com/your-username/divide-conquer-visualizer.git
cd divide-conquer-visualizerInstall dependencies:
npm installStart the application:
npm startOpen http://localhost:3000 in your browser to use the visualizer.
- Select the algorithm you want to visualize.
- Generate 10 sample input files or use your own input file.
- Click Run Algorithm to see results and step-by-step execution.
- Optionally, download generated input files for offline testing.