Skip to content

Practice makes perfect! Java solutions for LeetCode problems, from Easy to Hard, with explanations.

Notifications You must be signed in to change notification settings

darkatwi/Leetcode-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Leetcode-

LeetCode Java Solutions πŸ–₯οΈπŸ’‘

Welcome to my LeetCode Java Solutions repository! This is where I practice solving algorithm and data structure problems from LeetCode using Java. I’m a Computer Science student improving my programming and problem-solving skills, and this repo is a record of my journey.


πŸ“‚ Repository Structure

LeetCode-Java-Solutions/
β”œβ”€β”€ Easy/
β”œβ”€β”€ Medium/
└── Hard/
  • Folders are grouped by difficulty: Easy / Medium / Hard.
  • File naming convention: <problem_number>.<problem_name>.java Example: 217.ContainsDuplicate.java

⚑ How to Use

  1. Clone the repository:
git clone https://github.com/darkatwi/Leetcode-.git
cd Leetcode-
  1. Navigate to the folder corresponding to the difficulty level you want to explore.

  2. Open the Java file in your IDE, compile, and run:

javac 217.ContainsDuplicate.java
java 217.ContainsDuplicate
  1. Study the solution and comments explaining the logic.

✨ About This Repository

  • All solutions are written in Java.
  • Each solution contains comments and explanations to help understand the logic.
  • New problems are continuously added as I practice and learn.

πŸ’¬ Contributing

Feel free to explore, use, or learn from the code. If you have suggestions, improvements, or optimizations, please open an issue or submit a pull request.

Happy coding! πŸŽ‰


About

Practice makes perfect! Java solutions for LeetCode problems, from Easy to Hard, with explanations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages