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.
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.
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.
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.
- CODE: Navigate to
.../leetcode/editor/en/and look for the fileValidAnagram.java. - EXPLANATION: Navigate to
.../leetcode/doc/content/and look for the fileValidAnagram.md.
This structure keeps the repository organized and scalable without the need for constant README updates.
- Language:
Java 17 - Build Tool:
Maven - IDE:
IntelliJ IDEA
- LinkedIn:
https://www.linkedin.com/in/manhtruong03 - GitHub:
https://github.com/manhtruong03