This project provides a basic comparison of four distinct search algorithms, demonstrating their performance across varying input sizes. The project is implemented in Python and includes the following algorithms:
- Linear Search
- Binary Search (within a sorted array)
- Binary Search Tree
- Red-Black Tree
Follow these instructions to get a local copy of the project and set it up for testing.
- Python 3.6 or newer
- Clone or download the project to your local machine.
- Open a terminal and navigate to the project directory.
- Install the necessary Python packages using the following command:
pip install -r requirements.txt
- Open terminal and navigate to the project directory
- Run the following command to run the tests
python main.py