A Next.js 14 project for visualizing famous algorithms using React, TypeScript, and Tailwind CSS. This project includes visualizations for various algorithms such as unique path finding, N-Queens problem, tree or graph traversals, and more.
- Unique Path Finding: Visualize algorithms to find the number of unique paths in a grid and solve the number of islands problem.
- N-Queens Problem: Interactive visualization of the N-Queens problem, demonstrating various solutions and techniques.
- Tree and Graph Traversals: Visualize traversal algorithms including depth-first search (DFS) with in-order, pre-order, and post-order techniques, as well as breadth-first search (BFS).
- Sorting Algorithms: Visualize five sorting algorithms, including merge sort, quick sort, heap sort (with a tree graph visualization), selection sort, and bubble sort.
- Interactive UI: Built with React and styled using Tailwind CSS, providing a user-friendly interface for exploring algorithms.
- Node.js (v18 or higher)
- npm
- Clone the repository:
git clone https://github.com/AlaminPu1007/algorithm-visualizer
- Navigate to the project directory:
cd algorithm-visualizer
- Install dependencies:
npm install
- Start the development server:
bash npm run dev
The application will be available at http://localhost:3000.
- Navigate to the specific visualization from the home page.
- Use the provided controls to interact with the algorithms and view their visualizations.
We welcome contributions from the community! To contribute to this project, please follow these steps:
-
Fork the repository on GitHub.
-
Create a new branch for your feature or bug fix:
git checkout -b my-feature-branch
- Make your changes and commit them with a descriptive message:
git add .
git commit -m "Add new feature or fix bug"
- Push your changes to your fork:
git push origin my-feature-branch
- Open a pull request on GitHub, describing your changes and any relevant details.
Please review our CONTRIBUTING.md for more details on contributing.
We are committed to creating a welcoming and inclusive community. Please adhere to our Code of Conduct while participating in this project.
This project is licensed under the MIT License. See the LICENSE file for details.
- Next.js: For providing a powerful React framework.
- Tailwind CSS: For enabling easy and flexible styling.
- TypeScript: For adding type safety to the project.
- Jest: For providing a robust framework for unit testing.
For any questions or inquiries, please open an issue on GitHub or contact us at alamin66.sit@gmail.com.