Skip to content

Commit 7151242

Browse files
authored
Merge branch 'TheAlgorithms:master' into feature/centroid-decomposition
2 parents 3139d66 + e6c576c commit 7151242

31 files changed

+1625
-357
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v5
11+
- uses: actions/checkout@v6
1212
- name: Set up JDK
1313
uses: actions/setup-java@v5
1414
with:

.github/workflows/clang-format-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v6
1515
- uses: DoozyX/clang-format-lint-action@v0.20
1616
with:
1717
source: './src'

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v5
24+
uses: actions/checkout@v6
2525

2626
- name: Set up JDK
2727
uses: actions/setup-java@v5
@@ -52,7 +52,7 @@ jobs:
5252

5353
steps:
5454
- name: Checkout repository
55-
uses: actions/checkout@v5
55+
uses: actions/checkout@v6
5656

5757
- name: Initialize CodeQL
5858
uses: github/codeql-action/init@v4

.github/workflows/infer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
run_infer:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@v6
1919

2020
- name: Set up JDK
2121
uses: actions/setup-java@v5
@@ -44,7 +44,7 @@ jobs:
4444
cd ..
4545
git clone https://github.com/facebook/infer.git
4646
cd infer
47-
git checkout 01aaa268f9d38723ba69c139e10f9e2a04b40b1c
47+
git checkout 02c2c43b71e4c5110c0be841e66153942fda06c9
4848
./build-infer.sh java
4949
cp -r infer ../Java
5050

.github/workflows/project_structure.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
check_structure:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@v6
1919
- uses: actions/setup-python@v6
2020
with:
2121
python-version: '3.13'

.github/workflows/update-directorymd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout Repository
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@v6
1818

1919
- name: Run Directory Tree Generator
2020
uses: DenizAltunkapan/directory-tree-generator@v2

.inferconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
11
{
22
"report-block-list-path-regex": [
33
"src/main/java/com/thealgorithms/ciphers/a5/CompositeLFSR.java",
4+
"src/main/java/com/thealgorithms/compression/ArithmeticCoding.java",
5+
"src/main/java/com/thealgorithms/datastructures/caches/FIFOCache.java",
46
"src/main/java/com/thealgorithms/datastructures/crdt/GCounter.java",
57
"src/main/java/com/thealgorithms/datastructures/crdt/PNCounter.java",
68
"src/main/java/com/thealgorithms/datastructures/graphs/KahnsAlgorithm.java",
79
"src/main/java/com/thealgorithms/datastructures/heaps/GenericHeap.java",
810
"src/main/java/com/thealgorithms/datastructures/lists/DoublyLinkedList.java",
911
"src/main/java/com/thealgorithms/datastructures/trees/CreateBinaryTreeFromInorderPreorder.java",
1012
"src/main/java/com/thealgorithms/divideandconquer/ClosestPair.java",
13+
"src/main/java/com/thealgorithms/dynamicprogramming/DamerauLevenshteinDistance.java",
1114
"src/main/java/com/thealgorithms/dynamicprogramming/Fibonacci.java",
1215
"src/main/java/com/thealgorithms/maths/SimpsonIntegration.java",
1316
"src/main/java/com/thealgorithms/others/Dijkstra.java",
1417
"src/main/java/com/thealgorithms/sorts/TopologicalSort.java",
1518
"src/main/java/com/thealgorithms/strings/AhoCorasick.java",
19+
"src/test/java/com/thealgorithms/compression/ShannonFanoTest.java",
1620
"src/test/java/com/thealgorithms/datastructures/caches/LRUCacheTest.java",
1721
"src/test/java/com/thealgorithms/datastructures/lists/SkipListTest.java",
1822
"src/test/java/com/thealgorithms/datastructures/trees/KDTreeTest.java",
1923
"src/test/java/com/thealgorithms/datastructures/trees/LazySegmentTreeTest.java",
24+
"src/test/java/com/thealgorithms/others/HuffmanTest.java",
2025
"src/test/java/com/thealgorithms/searches/QuickSelectTest.java",
2126
"src/test/java/com/thealgorithms/stacks/PostfixToInfixTest.java",
2227
"src/test/java/com/thealgorithms/strings/HorspoolSearchTest.java"

DIRECTORY.md

Lines changed: 64 additions & 7 deletions
Large diffs are not rendered by default.

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<dependency>
4949
<groupId>org.apache.commons</groupId>
5050
<artifactId>commons-lang3</artifactId>
51-
<version>3.19.0</version>
51+
<version>3.20.0</version>
5252
</dependency>
5353
<dependency>
5454
<groupId>org.apache.commons</groupId>
@@ -112,7 +112,7 @@
112112
<dependency>
113113
<groupId>com.puppycrawl.tools</groupId>
114114
<artifactId>checkstyle</artifactId>
115-
<version>12.1.1</version>
115+
<version>12.1.2</version>
116116
</dependency>
117117
</dependencies>
118118
</plugin>
@@ -127,7 +127,7 @@
127127
<plugin>
128128
<groupId>com.mebigfatguy.fb-contrib</groupId>
129129
<artifactId>fb-contrib</artifactId>
130-
<version>7.6.15</version>
130+
<version>7.7.0</version>
131131
</plugin>
132132
<plugin>
133133
<groupId>com.h3xstream.findsecbugs</groupId>

spotbugs-exclude.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,12 @@
201201
<Match>
202202
<Bug pattern="SPP_FIELD_COULD_BE_STATIC" />
203203
</Match>
204+
<Match>
205+
<Bug pattern="ITC_INHERITANCE_TYPE_CHECKING" />
206+
</Match>
207+
<Match>
208+
<Bug pattern="FII_USE_ARRAYS_STREAM" />
209+
</Match>
204210
<!-- find-sec-bugs -->
205211
<Match>
206212
<Bug pattern="PREDICTABLE_RANDOM" />

0 commit comments

Comments
 (0)