This repository contains solutions for LeetCode challenges along with unit tests.
Note: This project requires Java 21.
The project uses Maven to manage dependencies. The following table lists the key dependencies:
Library | Version | Purpose |
---|---|---|
org.projectlombok:lombok | 1.18.32 | Simplifying Java classes |
org.junit.jupiter:junit-jupiter | 5.10.2 | Unit testing for Java |
org.assertj:assertj-core | 3.25.3 | Fluent assertions for better test cases |
org.apache.maven.plugins:maven-compiler-plugin | 3.13.0 | Compiling Java source code |
org.apache.maven.plugins:maven-surefire-plugin | 3.2.5 | Running unit tests |
To execute the unit tests, you can use the following Maven command:
mvn test