Skip to content

ACES-DYPCOE/Data-Structure

Repository files navigation

Data-Structure

Repository for cool algorithms and Data Structures. Contibute by adding your code's for various operation on Data structure and trivial problem that can be solved by using them .

How to contribute:

Please comment your code thoroughly as to make it possible for anyone to understand. If possible, check your code using unit tests. Avoid all the bad implementations, make your code as clean as possible. After that, find the folder that fits the category of your code and submit a PR. Star this repo if the information here is useful to you.

Contributing Guidelines :

Thanks for taking the time to contribute to this project. Before making PRs, please note the following:

A few norms you should follow :

  • Proper intendation is must!
  • Include Sample comments so that code is understandable and easy to follow.
  • Mention the complexity of a function in a comment.
  • Time complexity
  • Space complexity
  • Place your code in right directory.
  • Give your files names that are relevant and meaningful for example : linked_list_insertion.cpp

Steps to Contribute :

  • Fork this repository :On top right corner click there .
  • Clone the repository : Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the code button and then click the copy to clipboard icon.

Open a terminal and run the following git command:

git clone "url you just copied"
  • Create a branch: Change to the repository directory on your computer (if you are not already there):
cd Data-Structure

Now create a branch using the git checkout command:

git checkout -b your-new-branch-name

For example:

git checkout -b add-tree-insertion

(The name of the branch does not need to have the word add in it, but it's a reasonable thing to include because the purpose of this branch is to add your name to a list.)

  • Make necessary changes and commit those changes
  • Add file in respective folders follow rules of contribution
git add insertion_in_tree.py

Now commit those changes using the git commit command:

git commit -m "Add insertion in tree"
  • Push changes to GitHub Push your changes using the command git push:
git push origin <add-your-branch-name>
  • Submit your changes for review If you go to your repository on GitHub, you'll see a Compare & pull request button. Click on that button.

  • Now submit the pull request. Soon I'll be merging all your changes into the master branch of this project. You will get a notification email once the changes have been merged.

Keep On Exploring Open Source then 💜!