Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0cab126
Add Command Pattern to create an interactive menu system in Main.java
bcExpt1123 Jun 25, 2025
9534874
Update test results
bcExpt1123 Jun 25, 2025
7ac7f51
📝 Add docstrings to `test`
coderabbitai[bot] Jun 25, 2025
8b1569c
Merge pull request #4 from bcExpt1123/coderabbitai/docstrings/9534874
bcExpt1123 Jun 25, 2025
38b6103
Add AVL tests
bcExpt1123 Jun 26, 2025
a000fdd
Merge conflicts
bcExpt1123 Jun 26, 2025
ce41903
Add Style checker
bcExpt1123 Jun 26, 2025
bc46e24
Create summarize_new_issue.yaml
bcExpt1123 Jun 26, 2025
b112a6b
Create label_pr.yaml
bcExpt1123 Jun 26, 2025
00b8e62
Create maven.yaml
bcExpt1123 Jun 26, 2025
d4386b7
Create pmd.yaml
bcExpt1123 Jun 26, 2025
6cd75ef
Create codeql
bcExpt1123 Jun 26, 2025
3f456f5
Rename codeql to codeql.yaml
bcExpt1123 Jun 26, 2025
d8c6135
Update label_pr.yaml
bcExpt1123 Jun 26, 2025
39b1929
📝 Add docstrings to `test`
coderabbitai[bot] Oct 2, 2025
f0f793d
Merge pull request #6 from bcExpt1123/coderabbitai/docstrings/ce41903
bcExpt1123 Oct 2, 2025
59d5b55
Rename package
bcExpt1123 Oct 6, 2025
abcce9b
Update summarize new issue workflwo
bcExpt1123 Oct 6, 2025
9c61236
Update .github/workflows/summarize_new_issue.yaml
bcExpt1123 Oct 6, 2025
16e4b2e
Merge pull request #5 from bcExpt1123/workflows
bcExpt1123 Oct 6, 2025
ba286a2
Update src/main/java/org/dsa/common/Utils.java
bcExpt1123 Oct 6, 2025
a64306d
Update Main.java - scanner, and revert Utils
bcExpt1123 Oct 6, 2025
48381cf
Update workflows
bcExpt1123 Oct 6, 2025
ab12e16
Update workflows
bcExpt1123 Oct 6, 2025
90b555b
Update workflows
bcExpt1123 Oct 6, 2025
f569726
Update workflows
bcExpt1123 Oct 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Thank you for taking the time to contribute to this project! Here are a few guid

2. **Clone the repository**: Clone your forked repository to your local machine using the following command:
```sh
git clone https://github.com/your-username/java-alda.git
git clone https://github.com/your-username/java-dsa.git
```

3. **Create a branch**: Create a new branch for your work using the following command:
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Java Algorithms and Data Structures
# Java Data Structures and Algorithms

This repository contains implementations of various algorithms and data structures in Java. It is intended as a resource for learning and reference.

Expand Down Expand Up @@ -94,11 +94,11 @@ Implementation and usage of graphs.

1. Clone the repository:
```sh
git clone https://github.com/bcExpt1123/java-alda.git
git clone https://github.com/bcExpt1123/java-dsa.git
```
2. Navigate to the project directory:
```sh
cd java-alda
cd java-dsa
```

## Usage
Expand All @@ -107,11 +107,21 @@ Run code:
```sh
mvn clean compile exec:java
```

Run test:
```sh
mvn test
```

Run Check style:
```sh
mvn checkstyle:check
```
Or
```sh
mvn checkstyle:checkstyle
```

## Contributing

Contributions are welcome! Please read the [contributing guidelines](CONTRIBUTING.md) for more details.
Expand Down
21 changes: 21 additions & 0 deletions checkstyle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">

<module name="Checker">

<!-- Line length should be a direct child of Checker -->
<module name="LineLength">
<property name="max" value="120"/>
</module>

<module name="TreeWalker">
<module name="EmptyBlock"/>
<module name="LeftCurly"/>
<module name="RightCurly"/>
<module name="NeedBraces"/>
<module name="WhitespaceAfter"/>
<module name="WhitespaceAround"/>
</module>
</module>
26 changes: 24 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<maven.compiler.source>23</maven.compiler.source>
<maven.compiler.target>23</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<exec.mainClass>org.alda.Main</exec.mainClass>
<exec.mainClass>org.dsa.Main</exec.mainClass>
</properties>
<dependencies>
<dependency>
Expand All @@ -28,5 +28,27 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
</configuration>
</plugin>
</plugins>
</build>
</project>
236 changes: 0 additions & 236 deletions src/main/java/org/alda/Main.java

This file was deleted.

16 changes: 0 additions & 16 deletions src/main/java/org/alda/structure/tree/bst/Node.java

This file was deleted.

Loading