Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pawankolhe/c-algorithms

All algorithms implemented in C
https://github.com/pawankolhe/c-algorithms

beginner-friendly c-algorithms contribute-algorithms euler hacktoberfest leetcode

Last synced: 4 days ago
JSON representation

All algorithms implemented in C

Awesome Lists containing this project

README

        

# C Algorithms
### All algorithms implemented in C (for learning)
Contribute algorithms written in C language. It's beginner friendly! Feel free to add new algorithms or open an issue and commit if you have a more efficient way of implementing an algorithm. You can

## Getting Started
- **Fork** this repository (Click the 'Fork' button, top right of this page)
- **Clone** your forked copy of this repo down to your local machine:
```
git clone https://github.com//C-Algorithms.git
```
- **Change directory** to get inside repository:
```
cd C-Algorithms
```
- **Create a branch** for a new algorithm contribution:
```
git checkout -b feature/
```
- *Or* if its a bugfix to a file:
```
git checkout -b bugfix/
```
- Make your changes locally
- **Stage** and **commit** changes:
```
git add .
git commit -m 'commit message'
```
- **Push** changes to GitHub:
```
git push origin
```
- Create a **New Pull Request** (PR) from your forked repository on GitHub (Click the 'New Pull Request' Button located at the top of your repo)
- Wait for your PR review and merge approval!
- ***Star this repository*** if you had fun! :)

### Syncing Forked repo with Original repo:
```
git remote add upstream https://github.com/PawanKolhe/C-Algorithms.git
git pull upstream master
```

## New to Open Source?
Check out the following resources:
- [How to Create a Pull Request](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github)
- [An Introduction to Open Source](https://www.digitalocean.com/community/tutorial_series/an-introduction-to-open-source)

## What to contribute?
- You can check the [Issues](https://github.com/PawanKolhe/C-Algorithms/issues) tab on the top and comment on the one you want to work on.
- You can also suggest addition of new algorithms. Just create an 'Issue' [here](https://github.com/PawanKolhe/C-Algorithms/issues).
- You can also contribute your solutions to problems from LeetCode: [LeetCode](https://leetcode.com/problemset/algorithms/)
- Place your code in '/LeetCodeSolutions' folder with *number* and *name* of the problem as the file name.
- You can also contribute your solutions to problems from Project Euler: [Project Euler](https://projecteuler.net/archives)
- Place your code in '/ProjectEulerSolutions' folder with *number* and *name* of the problem as the file name.