Skip to content

Latest commit

 

History

History
65 lines (39 loc) · 1.27 KB

README.md

File metadata and controls

65 lines (39 loc) · 1.27 KB

algorithms

Welcome to the repository! This repository contains implementations of various algorithms in Python and C++.

Installation

For python To get started with the code in this repository, follow these steps:

  • Fork this repository.

  • Clone the repository to your local machine:

    git clone https://github.com/your-username/algorithms.git
    cd algorithms
    
  • Navigate to project folder:

    cd python 
    
  • Install the necessary libraries and modules.

    pip install -r requirements.txt
    
  • Run the algorithm.

    python path/to/your/script.py
    
  • Run the tests.

    cd python
    python -m pytest test
    

Contribution

Contributions to this repository are highly welcome! If you have new algorithms, improvements, or bug fixes, please follow these steps:

  • Fork the repository to your GitHub account.

  • Create a new branch for your feature or bug fix:

    git checkout -b feature-name
    
  • Make your changes and commit them:

    git add .
    git commit -m "Your meaningful commit message"
    
  • Push your changes to your fork:

    git push origin feature-name
    
  • Open a pull request on the main repository.

  • If you're adding a new algorithm, please include corresponding unit tests

    pytest tests/