Incognitozx / DSA-with-Java

Add DSA solutions in Java Programming Language.
0 stars 4 forks source link
hacktoberfest hacktoberfest2024 hactoberfest-accepted

DSA with Java

Welcome to the DSA with Java repository! This project contains a collection of data structures and algorithms implemented in Java, aimed at helping learners and developers improve their understanding of these essential concepts.

We welcome contributions from the community to make this project more comprehensive and robust. Below are guidelines on how you can contribute.


Contribution Guidelines

Thank you for your interest in contributing to DSA with Java! Follow these steps to ensure a smooth contribution process:

1. Fork this Repository

Click the "Fork" button at the top of the page to create a copy of this repository under your own GitHub account.

2. Clone the Repository

Clone your forked repository to your local machine:

git clone https://github.com/<your-username>/DSA-with-Java.git
cd DSA-with-Java

3. Set Upstream Remote

This ensures you can sync changes from the main repository to your local fork:

git remote add upstream https://github.com/Incognitozx/DSA-with-Java.git

4. Create a Branch

Create a new branch with a descriptive name, like add-binary-search:

git checkout -b add-binary-search

5. Work on Your Changes

Add your new data structure, algorithm, or improvement according to best coding practices and ensure it aligns with existing code standards.

6. Commit Your Changes

Commit with a clear, concise message describing the change:

git add .
git commit -m "Added binary search algorithm in Java"

7. Push Changes to Your Fork

git push origin add-binary-search

8. Create a Pull Request (PR)

  1. Go to the main DSA-with-Java repository on GitHub.
  2. Click "Compare & pull request."
  3. Write a clear description of your changes.
  4. Link any related issues and click "Create pull request."

9. Wait for Review

Your PR will be reviewed by a maintainer. Be ready to address any feedback to get it approved!

Contribution Best Practices

  1. Follow Coding Standards: Maintain consistency with existing code and structure.
  2. Keep it Simple: Each PR should address one specific issue or feature to ensure clarity.
  3. Document: Clearly comment your code and update documentation if applicable.

Hacktoberfest Contributions

This repository participates in Hacktoberfest! Issues with the hacktoberfest label are open for contribution, and PRs made to these issues will count towards Hacktoberfest completion. Make sure your PRs meet the quality standards to avoid being labeled as invalid or spam.