2716 Commits

Author SHA1 Message Date
743f9660a8 Add Traveling Salesman Problem (#6205) 2025-03-31 22:18:19 +00:00
0072ed9aa7 style: do not suppress lossy-conversions (#6206) 2025-03-31 19:20:58 +02:00
45148874e8 Add feature to convert numeric words to their number representation (#6195) 2025-03-18 12:29:20 +02:00
b44ecf7ef6 Bump org.mockito:mockito-core from 5.16.0 to 5.16.1 (#6199)
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.16.0 to 5.16.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.16.0...v5.16.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oleksandr Klymenko <alexanderklmn@gmail.com>
2025-03-17 23:28:41 +01:00
1a69a2da15 Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.2.0 to 4.9.3.0 (#6198)
Bumps [com.github.spotbugs:spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.9.2.0 to 4.9.3.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.9.2.0...spotbugs-maven-plugin-4.9.3.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-17 23:23:19 +01:00
8509be15f0 Bump org.junit:junit-bom from 5.12.0 to 5.12.1 (#6197)
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.12.0 to 5.12.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.12.0...r5.12.1)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-15 00:52:55 +01:00
5285a3d7aa Add a linear system solver (#6196) 2025-03-14 21:57:55 +00:00
769e4975f6 Add Parenthesis to MathBuilder (#6193) 2025-03-14 22:34:03 +02:00
e6073f8fef Add math builder (#6190) 2025-03-12 18:35:21 +02:00
9bfc05ad8d Bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.1.0 to 4.9.2.0 (#6188)
Bumps [com.github.spotbugs:spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.9.1.0 to 4.9.2.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.9.1.0...spotbugs-maven-plugin-4.9.2.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2025-03-04 23:05:12 +00:00
b2a701a679 Bump com.puppycrawl.tools:checkstyle from 10.21.3 to 10.21.4 (#6187)
Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.21.3 to 10.21.4.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.21.3...checkstyle-10.21.4)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-05 00:01:18 +01:00
f70a2187ac Bump org.mockito:mockito-core from 5.15.2 to 5.16.0 (#6185)
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.15.2 to 5.16.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.15.2...v5.16.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-04 00:37:02 +01:00
c8281e02fb Add Maximum Weighted Matching Algorithm for Trees (#6184) 2025-03-01 10:52:06 +02:00
849ab913c0 Add reverseUsingStringBuilder method to reverse a string (#6182) 2025-02-27 10:45:52 +00:00
df6da475e2 Bump com.puppycrawl.tools:checkstyle from 10.21.2 to 10.21.3 (#6181)
Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.21.2 to 10.21.3.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.21.2...checkstyle-10.21.3)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-24 23:02:54 +01:00
9ce2ff4865 chore: remove explicit dependency to junit-jupiter-api (#6179) 2025-02-24 13:04:17 +00:00
27bbc3e810 Bump org.junit:junit-bom from 5.11.4 to 5.12.0 (#6174)
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.11.4 to 5.12.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.4...r5.12.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-22 20:13:39 +00:00
f40330c553 chore: use BOM to manage junit dependencies (#6178) 2025-02-22 22:09:28 +02:00
bb0bb03b62 Bump org.junit.jupiter:junit-jupiter from 5.11.4 to 5.12.0 (#6176)
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5) from 5.11.4 to 5.12.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.4...r5.12.0)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-22 19:52:33 +01:00
ed3680b880 Bump org.apache.maven.plugins:maven-compiler-plugin from 3.13.0 to 3.14.0 (#6175)
Bump org.apache.maven.plugins:maven-compiler-plugin

Bumps [org.apache.maven.plugins:maven-compiler-plugin](https://github.com/apache/maven-compiler-plugin) from 3.13.0 to 3.14.0.
- [Release notes](https://github.com/apache/maven-compiler-plugin/releases)
- [Commits](https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.13.0...maven-compiler-plugin-3.14.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-compiler-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-22 00:11:43 +01:00
1f951c1ed5 Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.6 to 4.9.1.0 (#6171)
* Bump com.github.spotbugs:spotbugs-maven-plugin from 4.8.6.6 to 4.9.1.0

Bumps [com.github.spotbugs:spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin) from 4.8.6.6 to 4.9.1.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases)
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.8.6.6...spotbugs-maven-plugin-4.9.1.0)

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: suppress `AT_STALE_THREAD_WRITE_OF_PRIMITIVE`

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: vil02 <65706193+vil02@users.noreply.github.com>
2025-02-17 23:42:16 +01:00
5be5e35d2d Add Heavy-Light Decomposition (HLD) (#6169) 2025-02-17 16:55:06 +02:00
63ce6b8ca5 Refactor LWWElementSet (#6164) 2025-02-13 22:33:52 +02:00
3313ddc723 Bump gitpod/workspace-java-21 from 2024-11-26-08-43-19 to 2025-02-10-10-54-28 (#6162)
Bump gitpod/workspace-java-21

Bumps gitpod/workspace-java-21 from 2024-11-26-08-43-19 to 2025-02-10-10-54-28.

---
updated-dependencies:
- dependency-name: gitpod/workspace-java-21
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 21:34:14 +00:00
d4b28b348e Add Constrained Shortest Path Problem (CSPP) / Shortest Path Problem with Resource Constraints (SPPRC) (#6155) 2025-01-28 12:33:58 +02:00
4d667e1b76 Bump com.puppycrawl.tools:checkstyle from 10.21.1 to 10.21.2 (#6154)
Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.21.1 to 10.21.2.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.21.1...checkstyle-10.21.2)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-27 22:23:25 +01:00
4ef06822ca Create package prime, matrix and games (#6139) 2025-01-27 11:10:41 +00:00
f9efd382d1 Fix: Replaced removeLast() with remove(current.size() - 1) (#6152)
Fix: Replaced removeLast() with remove(current.size() - 1) for compatibility with ArrayList
2025-01-26 18:28:49 +01:00
364f66025a Bump org.assertj:assertj-core from 3.27.2 to 3.27.3 (#6146)
Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.27.2 to 3.27.3.
- [Release notes](https://github.com/assertj/assertj/releases)
- [Commits](https://github.com/assertj/assertj/compare/assertj-build-3.27.2...assertj-build-3.27.3)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-20 21:58:53 +00:00
0e0539ea6c Fix AbsoluteMin bug for equal absolute values (#6145)
* fix-absolute-max-bug

* clang-format for added junit

* fix-absolute-min-bug
2025-01-19 17:50:43 +01:00
30d0c064a7 Fix absolute max bug (#6144) 2025-01-18 21:51:56 +02:00
5454e2ff62 Add DarkSort Algorithm (#6141) 2025-01-18 19:34:34 +02:00
466ff0b4c2 Add convertion of numbers into their word representation (#6137) 2025-01-16 09:46:57 +02:00
754bf6c5f8 Add Goldbach's Conjecture algorithm (#6127) 2025-01-13 23:37:58 +02:00
39122a9ac7 style: include PCOA_PARTIALLY_CONSTRUCTED_OBJECT_ACCESS (#6133) 2025-01-13 18:56:43 +02:00
779381f902 Update Armstrong (#6131) 2025-01-13 10:04:08 +02:00
bd785dea4d Refactor and enhance the 'Upper' class (#6118) 2025-01-12 11:29:27 +00:00
08c0f4ac2d improve zig-zag-pattern (#6128) 2025-01-12 13:13:01 +02:00
1e6ed97fcf Refactor files to be in correctly nested packages (#6120) 2025-01-11 09:17:40 +02:00
a9633c0000 style: include ICAST_IDIV_CAST_TO_DOUBLE (#6121) 2025-01-10 20:50:09 +02:00
5ab6356090 Bump org.assertj:assertj-core from 3.27.1 to 3.27.2 (#6117)
Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.27.1 to 3.27.2.
- [Release notes](https://github.com/assertj/assertj/releases)
- [Commits](https://github.com/assertj/assertj/compare/assertj-build-3.27.1...assertj-build-3.27.2)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-06 21:34:03 +00:00
7c5351e11e Bump org.mockito:mockito-core from 5.14.2 to 5.15.2 (#6116)
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.14.2 to 5.15.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.14.2...v5.15.2)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-02 22:34:13 +01:00
14db275c2b Improve Vampire Number (#6110) 2025-01-01 22:43:00 +00:00
2da56d6ee4 Bump org.assertj:assertj-core from 3.27.0 to 3.27.1 (#6115) 2025-01-02 00:35:00 +02:00
6a60458398 Bump com.puppycrawl.tools:checkstyle from 10.21.0 to 10.21.1 (#6114)
Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.21.0 to 10.21.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.21.0...checkstyle-10.21.1)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-29 19:59:25 +00:00
2fff579045 Add unit test for EditDistance (#6108) 2024-12-21 15:02:58 +02:00
d102fa77dc Bump org.apache.commons:commons-collections4 from 4.5.0-M2 to 4.5.0-M3 (#6107)
Bumps org.apache.commons:commons-collections4 from 4.5.0-M2 to 4.5.0-M3.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-collections4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com>
2024-12-19 22:38:53 +00:00
d65745816e Bump org.assertj:assertj-core from 3.26.3 to 3.27.0 (#6106)
Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.26.3 to 3.27.0.
- [Release notes](https://github.com/assertj/assertj/releases)
- [Commits](https://github.com/assertj/assertj/compare/assertj-build-3.26.3...assertj-build-3.27.0)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-19 23:35:24 +01:00
13b5d6297e Bump org.junit.jupiter:junit-jupiter-api from 5.11.3 to 5.11.4 (#6102)
Bumps [org.junit.jupiter:junit-jupiter-api](https://github.com/junit-team/junit5) from 5.11.3 to 5.11.4.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.3...r5.11.4)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter-api
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 18:17:41 +00:00
1e9cb9687d Bump org.junit.jupiter:junit-jupiter from 5.11.3 to 5.11.4 (#6103)
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5) from 5.11.3 to 5.11.4.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.11.3...r5.11.4)

---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-16 18:13:37 +00:00