A Binary Search Visualizer let you visualize how binary search works by giving you the output of each iteartion.
View Demo
·
Report Bug
·
Request Feature
A very simple binary search visualizer that takes numbers separted by comma as input and another number to search in the input. It then searchs item inside those values using binary search and output each iteration along with its Upper Bound , Lower Bound and its Midpoint .
To run this project you would require Node v14 or above and npm installed on your computer.
-
Clone the repo
git clone https://github.com/faris-xhan/binary-search-visualizer.git
-
Install NPM packages
npm install
-
Start the development server. 🔨
npm start
-
Start the build. ✨
npm run build
- ✔️ Add a progress bar during searching.
- ✔️ Add a README
- ✔️ Change alert varaint based on item found or not.
- ⬛ Add a switch for sorted & unsorted input.
- ⬛ Limit the user input to only 100 values in production.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License.
Mohammad Naeem - @nemoxhan - [email protected]
Project Link: https://github.com/faris-xhan/binary-search-visualizer