Skip to content

Welcome to the Friends Zone DSA Hub! A space where dedicated minds unite to level up in Data Structures and Algorithms. Dive into collaborative learning, share solutions, and refine your DSA skills as a team. Ready to tackle challenges and grow together? Join us in building a strong foundation in problem-solving and coding mastery!

License

Notifications You must be signed in to change notification settings

Suv05/Friends-Zone-DSA-Hub

Repository files navigation

Contributing to Friends Zone DSA Hub

Welcome to Friends Zone DSA Club! 🎉
This repository is for practicing DSA (Data Structures and Algorithms) together. Follow the steps below to contribute your solutions to the repository.

Step 1: Fork the Repository

  1. Click on the Fork button at the top-right of the repository page. This creates a copy of the repository in your GitHub account.

Step 2: Clone the Forked Repository to Your Local Machine

  1. In your GitHub fork, click on the Code button, and copy the URL (SSH or HTTPS).
  2. Open your terminal/command prompt and run:
    git clone <your-fork-url>
  3. Navigate into the cloned repository:
    cd friends-zone-dsa-club

Step 3: Create a New Branch

  1. Create a new branch with your name (this is optional but recommended to keep your changes organized):
    git checkout -b <your-name-branch>
  2. Navigate into the folder on your name:
    cd <your-named-folder>

3.Now start coding. Add your DSA practice code or solution files in this folder.

Step 5: Commit Your Changes

  1. Stage your changes:
    git add -A
  2. Commit your changes with a meaningful message:
    git commit -m "Added <your-name>'s DSA practice solutions"

Step 6: Push the Changes to Your Fork

  1. Push your changes to your forked repository on GitHub:
    git push origin <your-branch-name>

Step 7: Create a Pull Request

  1. Go to the original repository (our main DSA repo) on GitHub.
  2. Click on the Pull Requests tab.
  3. Click New Pull Request.
  4. Select your branch from the dropdown on the right.
  5. Review your changes and create the Pull Request (PR) with a meaningful title (e.g., "Added 's folder and DSA solutions").

Step 8: Merge the Pull Request

Since you have write access, you can merge your own PR:

  1. After your PR is created, you will see a Merge button.
  2. Click on Merge Pull Request to merge your changes into the main branch.
  3. After merging, delete your branch on GitHub.

Step 9: Pull the Latest Changes from Master (Optional)

To keep your local repository up to date with the latest changes, you should occasionally pull from the main repository:

  1. Switch to the master branch:
    git checkout master
  2. Pull the latest changes:
    git pull origin master

That's it! 🎉 You're all set to contribute to the Friends Zone DSA Hub. If you have any questions, feel free to ask for help.

About

Welcome to the Friends Zone DSA Hub! A space where dedicated minds unite to level up in Data Structures and Algorithms. Dive into collaborative learning, share solutions, and refine your DSA skills as a team. Ready to tackle challenges and grow together? Join us in building a strong foundation in problem-solving and coding mastery!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages