Welcome to my LeetCode Solutions repository. In this repository, I share my Java solutions for various LeetCode problems. Each solution is thoroughly tested, and I've included custom validation methods to handle problem-specific constraints.
I've written some notes for myself, but if you'd like to read them too, click here.
- Clone the repository:
git clone git@github.com:kauassilva/leetcode-solutions.git
- Running Tests:
- To run all tests classes:
mvn test
- To run a single test class:
mvn test -Dtest={the test class name without '.java'}
- To run all tests classes:
Here is the list, in ascending order, of all the problems solved, validated, and tested.
ID | Title | Difficulty |
---|---|---|
1920 | Build Array from Permutation | Easy |
1929 | Concatenation of Array | Easy |
2011 | Final Value of Variable After Performing Operations | Easy |
2181 | Merge Nodes in Between Zeros | Medium |
2469 | Convert the Temperature | Easy |
2769 | Find the Maximum Achievable Number | Easy |
3110 | Score of a String | Easy |
3190 | Find Minimum Operations to Make All Elements Divisible by Three | Easy |