Skip to content

manhtruong03/leetcode-solutions-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My LeetCode Solutions in Java

Java LeetCode

👋 About This Repository

Welcome to my LeetCode journey!

This repository serves as a personal log of the data structure and algorithm problems I've solved on LeetCode using Java. My primary goal is not just to find a working solution, but to practice writing clean, efficient, and readable code—the kind that's expected in a professional software engineering environment.

🧭 Navigating the Repository

Given the large number of solutions, instead of maintaining a manual list, you can easily find any solution and its corresponding explanation by following the repository's structure.

1. Finding the Solution Code (.java files)

All solution code is located in the following directory: ▶️ src/main/java/com/manhtruong03/leetcode/editor/en/

The Java file names correspond to the LeetCode problem titles in PascalCase.

  • Example: The solution for the "Two Sum" problem is located in TwoSum.java.

2. Finding Notes & Explanations (.md files)

A key feature of this repository is that I document my thought process for many of the problems. You can find these detailed explanations here: ▶️ src/main/java/com/manhtruong03/leetcode/doc/content/

In this directory, you'll find Markdown (.md) files detailing the thought process, algorithm choices, and complexity analysis for the solutions.


Example: How to find the "Valid Anagram" problem

  1. CODE: Navigate to .../leetcode/editor/en/ and look for the file ValidAnagram.java.
  2. EXPLANATION: Navigate to .../leetcode/doc/content/ and look for the file ValidAnagram.md.

This structure keeps the repository organized and scalable without the need for constant README updates.

🛠️ Tools & Environment

  • Language: Java 17
  • Build Tool: Maven
  • IDE: IntelliJ IDEA

🔗 Connect with Me

  • LinkedIn: https://www.linkedin.com/in/manhtruong03
  • GitHub: https://github.com/manhtruong03

About

Practicing data structures and algorithms by solving LeetCode problems in Java. Aiming for clean, efficient, and well-documented code.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages