This is a repository, where I share my solutions to various coding challenges from LeetCode and Codewars. Currently, each solution is written in Java and is covered with unit tests using JUnit5.
The repository is organized as follows:
.
└── src/
├── main/
│ └── java/
│ ├── codewars/
│ │ ├── eight_kyu/
│ │ │ └── problem/
│ │ │ └── Solution.java
│ │ ├── seven_kyu
│ │ ├── ...
│ │ └── one_kyu
│ └── leetcode/
│ ├── easy/
│ │ └── problem/
│ │ └── Solution.java
│ ├── medium
│ └── hard
└── test/
└── java/
├── codewars/
│ ├── eight_kyu/
│ │ └── problem/
│ │ └── SolutionTest.java
│ ├── ...
└── leetcode/
├── easy/
│ └── problem/
│ └── SolutionTest.java
├── medium
└── hard
Each solution in the src/main/java/leetcode
or src/main/java/codewars
directories has a corresponding test class in the src/test/java/leetcode
or src/test/java/codewars
directories to check if the solution works as expected.
In this section, you can find a snapshot of my current progress on LeetCode and Codewars.
Here’s a snapshot of my current progress on LeetCode:
For more details, visit my LeetCode profile.
Here’s a summary of my Codewars progress:
To get a local copy of this project up and running on your machine, follow the instructions below.
Before you begin, ensure you have the following software installed on your machine:
Make sure you have Java 19 or later installed. It is required to compile and run the code in this repository.
To check your Java version, run the following command in your terminal:
java -version
Ensure you have Maven 3.6 or later installed. Maven is used for managing dependencies and building the project.
To check your Java version, run the following command in your terminal:
mvn -version
-
Clone the repo
git clone https://github.com/tom-ketipov/daily-code-challenges.git
-
Navigate to the project directory
cd daily-code-challenges
To run all the tests for the project, use the following Maven command:
mvn clean test