diff --git a/README.md b/README.md index 182d36a8d905..fb7c57f8a96e 100644 --- a/README.md +++ b/README.md @@ -50,3 +50,18 @@ 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 also include examples, doctests, or assertions that demonstrate expected usage and output.