Skip to content

LeetCode algorithm problems solutions & interview questions

Notifications You must be signed in to change notification settings

muhammetgumus/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions in Java

GitHub stars License

Welcome to the LeetCode Solutions in Java repository! This collection houses my solutions to a variety of LeetCode problems, all implemented in Java. Whether you're preparing for coding interviews or simply looking to sharpen your algorithmic skills, this repository provides a comprehensive resource to help you tackle LeetCode challenges effectively.

LeetCode Logo

GitHub stars License

Welcome to the LeetCode Solutions in Java repository! This collection houses my solutions to a variety of LeetCode problems, all implemented in Java. Whether you're preparing for coding interviews or simply looking to sharpen your algorithmic skills, this repository provides a comprehensive resource to help you tackle LeetCode challenges effectively.

Contents

The repository is structured in the following directories:

  • Easy: Contains solutions to easy-level LeetCode problems.
  • Medium: Contains solutions to medium-level LeetCode problems.
  • Hard: Contains solutions to hard-level LeetCode problems.

Each problem solution is accompanied by a detailed explanation of the approach, and the code is thoroughly documented to ensure clarity and understanding.

How to Use

To make use of the solutions provided in this repository, follow these steps:

  1. Clone the repository to your local machine using the following command:
git clone https://github.com/muhammetgumus/leetcode.git
  1. Navigate to the directory of the problem you want to explore. For example, if you're interested in a medium-level problem, run:
cd medium
  1. Open the corresponding Java file containing the solution in your preferred Java IDE or text editor.

  2. Read the problem description and the accompanying explanation to understand the approach taken.

  3. Dive into the code, which is documented extensively to guide you through the implementation details.

  4. Experiment with the solution, modify it, or adapt it to suit your needs.

  5. Enjoy solving LeetCode problems with Java!

Contribution Guidelines

I welcome contributions from the community to enhance the repository and provide additional solutions. If you're interested in contributing, please follow these steps:

  1. Fork the repository and clone it to your local machine.

  2. Create a new branch with a descriptive name for your feature or bug fix.

  3. Implement your changes or add your solutions to the appropriate directory.

  4. Ensure that your code is well-documented and follows the established coding style.

  5. Commit your changes and push them to your forked repository.

  6. Submit a pull request, explaining the purpose and details of your contribution.

  7. I'll review your pull request and merge it once everything looks great!

License

This repository is licensed under the MIT License. Feel free to use the code provided here for personal or educational purposes.

Show Your Support

If you find this repository helpful or appreciate the solutions provided, consider giving it a star! Your support is greatly appreciated and encourages me to continue maintaining and improving this resource.

Thank you for visiting, and happy coding!