Welcome!! This is a collaborative space for contributors to share and solve data structures and algorithms problems using the C programming language. Whether you're a beginner or an experienced programmer, this repository is designed for you!
- A comprehensive collection of DSA problems with solutions in C.
- Clear explanations and detailed code comments.
- User-friendly navigation and contribution process.
- Community-driven: Everyone is welcome to add new problems!
- Basic understanding of C programming.
- Git installed on your machine.
To get started, clone the repository using:
git clone https://github.com/dormeneur/DSA.git
cd DSA
-
Fork the repository: Click on the "Fork" button in the top right corner.
-
Create a new branch:
git checkout -b feature/your-feature-name
- Add your problem: Create a new file named problem_name.c and include your solution. Follow the structure below:
// Problem: [Problem description]
// Solution:
#include <stdio.h>
int main() {
// Your code here
return 0;
}
- Commit your changes:
git commit -m "Add problem: [Problem Name]"
- Push to the branch:
git push origin feature/your-feature-name
- Create a Pull Request: Go to the original repository and click on "New Pull Request".
When adding a new problem, please follow this format:
* Problem Name: A brief title for the problem.
* Description: A detailed explanation of the problem.
* Explanation of the code written with comments
* Example Input/Output: Provide examples to clarify.
We encourage discussions and feedback! Feel free to open issues for discussions or suggestions.
This project is licensed under the MIT License - see the LICENSE file for details.
Thanks to all the contributors who make this repository a great place to learn and grow!