This repository contains my solutions to various Java programming problems from LeetCode. I regularly update the repository with new problems and their corresponding solutions as I solve them.
LeetCode is a popular platform for practicing coding problems, and this repository serves as a collection of my Java solutions to these problems. You can use this repository to refer while you solve your leetcode problems, and the solution is provided in Java.
-
- Problems will be organized based on the name of the leetcode problems.
- Navigate to the specific problem to find the Java solution.
-
- Clone to this repository to your local machine using the following command:
git clone https://github.com/Samuel2143/Java-problems.git
-
- Open the Java file in your preferred IDE or text editor.
- Compile and run the Java file to see the solution in action.
-
- If you have a different or more optimized solution, feel free to contribute!
- Follow the Contributing Guidelines for details on how to contribute.
Contributions are always welcome! Here's how you can contribute:
-
Fork the repository.
-
Create a new branch with a meaningful name:
git checkout -b feature/your-feature-name
-
Make your changes and commit them:
git commit -m "Add your feature description"
-
Push to your branch:
git push origin feature/your-feature-name
-
Open a pull request.