This repository contains my collection of competitive programming solutions and setup. The code is organized by topics, making it easy to find and reference solutions quickly.
-
GCD (Greatest Common Divisor):
- File:
gcd.cpp
- Description: Implementation of the Euclidean algorithm to find the GCD of two numbers.
- File:
-
Sieve of Eratosthenes:
- File:
sieve.cpp
- Description: Efficient algorithm to find all prime numbers up to a given limit.
- File:
...
and so on .......
Feel free to contribute by adding new algorithms, optimizations, or improvements. Follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/new-algorithm
. - Commit your changes:
git commit -m "Add new algorithm"
. - Push to the branch:
git push origin feature/new-algorithm
. - Submit a pull request.
Happy coding! ๐