Welcome to the Competitive Programming repository for the GDSC (Google Developer Student Clubs) club! This repository is designed to help students learn and improve their competitive programming skills, providing a collection of algorithms, data structures, templates, and problem-solving resources.
- Algorithms
- Data Structures
- Templates for CP
- Other Directories
- How to Contribute
- Community Guidelines
The "Algorithms" directory contains a collection of well-documented algorithms implemented in various programming languages, including C++, Python, Java, and more. Each algorithm is accompanied by a README file that explains its purpose, usage, and provides links to relevant problems and resources for further learning.
The "Data Structures" directory provides implementations of fundamental data structures. Explore this section to learn about data structures like arrays, linked lists, trees, and more. Each data structure includes C++ code and explanatory README files.
The "cp templates" directory houses templates for common competitive programming tasks. These templates can be handy during coding competitions, saving you time on writing boilerplate code.
Apart from algorithms, data structures, and templates, this repository also contains additional directories for various purposes. You may find directories for specific coding contests, practice problems, educational resources, and more.
If you'd like to contribute to this repository, here's how you can get started:
-
Fork this repository to your GitHub account.
-
Clone your forked repository to your local machine.
git clone https://github.com/your-username/competitive-programming.git
-
Make Changes:
- Add new algorithms, data structures, templates, or resources to the relevant directories.
- Ensure your code is well-documented and includes explanatory README files.
-
Commit Your Changes:
- Commit your changes with clear and concise commit messages:
git commit -m "Added new algorithm: [algorithm-name]"
-
Push to Your Fork
git push origin main
-
Create a Pull Request
-
Go to the original GDSC repository competitive programming.
-
Click the "New Pull Request" button.
-
Describe your changes in the pull request, and our team will review it.
-
We value collaboration and a positive community atmosphere. To maintain this, please adhere to the following guidelines:
-
Be respectful and helpful to fellow contributors.
-
Follow coding best practices and maintain clean, readable code.
-
Provide clear documentation for added algorithms, data structures, or templates.