This repository contains a collection of GeeksforGeeks questions that I have practiced so far. GeeksforGeeks is a popular online platform that provides a wide range of coding problems, algorithms, and data structures to enhance programming skills.
The repository consists of solution of GeeksforGeeks questions, in C++ programming language.
You can browse the repository and explore the GeeksforGeeks questions based on your interests and learning goals. Follow these steps to make the most of this repository:
- Clone the repository:
git clone https://github.com/your-username/geeksforgeeks-practice.git
- Navigate to the desired problem category or topic directory:
cd geeksforgeeks-practice/<category>/<topic>
-
Choose a specific problem and open the corresponding solution file, which usually has the problem name as its filename.
-
Review the problem statement and the implemented solution in the programming language of your choice.
-
Analyze the code, understand the algorithm, and modify it as needed for your learning and exploration.
-
If you have a more optimized solution or a different approach, feel free to contribute by submitting a pull request. Make sure to follow the contribution guidelines mentioned below.
Contributions to this GeeksforGeeks practice repository are welcome! If you have solved a GeeksforGeeks problem and would like to contribute your solution, please follow these steps:
-
Fork the repository.
-
Create a new branch with a descriptive name that reflects the problem you are solving:
git checkout -b <branch-name>
-
Implement your solution in the corresponding category or topic directory.
-
Add your solution file and ensure it follows the naming convention.
-
Update the
README.md
file in the corresponding directory to include a link to your solution and a brief description if necessary. -
Commit and push your changes to the forked repository:
git commit -am 'Add solution for problem XYZ'
git push origin <branch-name>
- Submit a pull request explaining the problem you solved and any additional information.
Please ensure that your code follows the existing coding style and includes appropriate comments and documentation.
If you have any questions or suggestions regarding this repository, please feel free to reach out to me at kareenujjainiya222@gmail.com.