Data Structures

Linked List, Sorting and searching Algorithms in Cpp

Open Source Love

ds-algo

C++ os

How to contribute

You can either contribute in terms of Code or by improving Documentation

Step 1

Check the issues if there is any you want to resolve. If not then you can still contribute to repo.

Step 2: Fork this repository

You can fork this repository by clicking on fork button on top right corner. Once you fork, this will create its copy on your account

Step 3: Clone the repository

To clone the repository go to your account open this repo and either click on clone button or run the command below to get this repository on your local machine

git clone <URL you just copied>

e.g. git clone https://github.com/ayeshatahirme/Data-Structures.git

Step 4: Create a branch

On your local machine go the project folder that you cloned and use following git command inside that folder

create a new branch using below command.

git checkout -b <branch-name>

e.g. git checkout -b mybranch

Step 5: Make some contributions

Make changes to files on your local machine.

Step 6: Add Changes and Commit Changes

To add the changes you made, use following command:

git add .

Now to commit changes, use command as below.

git commit -m "resolved the <issue>"

Step 7: Push changes to GitHub

Now we have to push the changes that we made to remote repository on specified branch to do so use command below.

git push origin <branch-name>

name of branch is same as you created in step 3

e.g git push origin mybranch

Step 8: Submit your changes for review

Once you have pushed your code to GitHub, now create pull request. Go to the repository click on compare and pull request and submit the pull request.