diff --git a/README.md b/README.md index 182d36a8d905..4724302947fe 100644 --- a/README.md +++ b/README.md @@ -50,3 +50,19 @@ We are on [Discord](https://the-algorithms.com/discord) and [Gitter](https://git ## 📜 List of Algorithms See our [directory](DIRECTORY.md) for easier navigation and a better overview of the project. + +## ▶️ Running an Algorithm + +Most algorithms in this repository can be executed directly from the command line. + +```bash +python path/to/algorithm.py +``` + +For example: + +```bash +python searches/binary_search.py +``` + +Many implementations include doctests, assertions, or example usage that will run automatically when the file is executed.