Commit Graph

3058 Commits

Author SHA1 Message Date
Oleksandr Klymenko
7e37d94c53 refactor: improving readability DecimalToAnyUsingStack (#6377)
refactor: improving readability DecimalToAnyUsingStack

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-15 05:26:49 +00:00
Oleksandr Klymenko
95116dbee4 refactor: improving MedianOfMatrix (#6376)
refactor: improving MedianOfMatrix
2025-07-15 07:23:49 +02:00
Oleksandr Klymenko
25aaa6e064 refactor: OnesComplement Tests Using Parameterized Inputs (#6375)
refactor: OnesComplement Tests Using Parameterized Inputs

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-14 05:51:17 +00:00
Oleksandr Klymenko
933e929b54 refactor: refactor Ceil and improved tests (#6366)
* refactor: refactor Ceil and improved tests

* checkstyle: remove redundant import

* refactor: fix edge cases

* refactor: fix checkstyle

* refactor: fix checkstyle import order
2025-07-14 07:47:22 +02:00
Oleksandr Klymenko
ef93cc1503 refactor: TwoPointers (#6374)
* refactor: TwoPointers

* refactor: fix test formatting

* refactor: fix checkstyle

* refactor: fix checkstyle
2025-07-13 09:25:26 +00:00
Oleksandr Klymenko
182118b6a4 refactor: cleanup GenerateSubsets (#6373)
refactor: cleanup GenerateSubsets

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-13 09:17:38 +00:00
Oleksandr Klymenko
910d5b880a refactor: Refactor SJFScheduling and Tests (#6372)
* refactor: Refactor SJFScheduling and Tests

* refactor: fix checkstyle

* refactor: add full imports

* refactor: add full imports

* refactor: remove redundant newline

* refactor: fix indexed list iteration
2025-07-13 11:11:57 +02:00
Oleksandr Klymenko
dba2d869f2 refactor: improving GenericRoot (#6365)
refactor: improving GenericRoot
2025-07-12 06:51:49 +00:00
Oleksandr Klymenko
7590d8234f refactor: add JavaDocs and improve readability in InfixToPrefix (#6363)
* refactor: add JavaDocs and improve readability in InfixToPrefix

* formatting: remove redundant newline

---------

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-12 06:47:49 +00:00
Oleksandr Klymenko
acb4753d65 refactor: Improve readability and code clarity in InfixToPostfix (#6362)
refactor: improve InfixToPostfix

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-12 08:44:57 +02:00
Oleksandr Klymenko
0a4f5542d9 cleanup: Improve docs, safety, and readability in RangeInSortedArray (#6361)
* cleanup: Improve docs, safety, and readability in RangeInSortedArray

* formatting: fix comment formatting issue

* formatting: fix array formatting issue

---------

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-11 19:42:45 +00:00
Oleksandr Klymenko
048bba9499 refactor: adding docs for LongestCommonPrefixTest and Parameterized Tests (#6360)
* refactor: adding docs for LongestCommonPrefixTest and Parameterized Tests

* checkstyle: fix clang formatting

---------

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-11 19:39:33 +00:00
Oleksandr Klymenko
3e0fd11a96 refactor: refactoring and documenting Isomorphic String Checker (#6359)
refactor: refactoring and documenting Isomorphic String Checker

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-11 19:36:29 +00:00
Oleksandr Klymenko
2ccc15671f refactor: clean up LargestRectangle and convert tests to parameterized format (#6356)
* refactor: clean up LargestRectangle and convert tests to parameterized format

* refactor: fix clang formatting issue

* refactor: fix clang formatting issue for test data

---------

Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-11 21:32:42 +02:00
Oleksandr Klymenko
f3252793e1 refactor: refactor Alphabetical and AlphabeticalTest (#6355) 2025-07-10 17:52:38 +02:00
dependabot[bot]
22cba2c84f chore(deps): bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 (#6364)
Bumps org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-lang3
  dependency-version: 3.18.0
  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-07-10 09:01:08 +03:00
Oleksandr Klymenko
a6aadd5b64 refactor: improve Sparsity class with input validation and clearer logic (#6351)
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
2025-07-09 18:49:58 +00:00
Oleksandr Klymenko
c997a32018 refactor ShuffleArray: improve documentation and maintainability (#6357)
refactor ShuffleArray: Improve Documentation and Code Quality
2025-07-09 20:36:39 +02:00
Andrii Siriak
476898723a Update CODEOWNERS (#6353) 2025-07-08 20:04:56 +02:00
Oleksandr Klymenko
6c3049530f refactor: optimize ValidParentheses methods and add parameterized tests (#6352) 2025-07-08 10:50:06 +03:00
Oleksandr Klymenko
fa2ca9db39 refactor: improve PythagoreanTriple logic and add parameterized tests (#6350) 2025-07-08 00:29:52 +03:00
Oleksandr Klymenko
2f5bc8c242 refactor: improve median calculator class design and readability (#6349) 2025-07-07 14:29:10 +03:00
pushkar0406
8512f127ce Fix the formatting issue with clang-format (#6346) 2025-07-07 14:22:40 +03:00
Oleksandr Klymenko
4b6006c876 refactor: improve code and test coverage for MapReduce example (#6348)
refactor: improve code and test coverage for MapReduce example
2025-07-06 23:19:50 +02:00
Oleksandr Klymenko
350f149657 Add parameterized tests for BitSwap (#6347) 2025-07-06 20:03:02 +03:00
Deniz Altunkapan
9b4dec0b06 Update DIRECTORY.md (#6344)
Co-authored-by: siriak <siriak@users.noreply.github.com>
2025-07-05 17:07:10 +02:00
KevinMwita7
c782f05ed4 Add cache with FIFO replacement policy (#6337) 2025-07-05 13:29:46 +00:00
dependabot[bot]
4360807575 chore(deps): bump org.junit:junit-bom from 5.13.2 to 5.13.3 (#6343)
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit-framework) from 5.13.2 to 5.13.3.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.2...r5.13.3)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-version: 5.13.3
  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-07-04 23:36:42 +02:00
Deniz Altunkapan
841f9c3bbd Update DIRECTORY.md (#6341)
Co-authored-by: siriak <siriak@users.noreply.github.com>
2025-07-04 13:40:46 +03:00
Aditya
d709317b2e Add RandomizedClosestPair Algorithm and Unit Tests (#6339) 2025-07-04 10:23:49 +00:00
Aditya
58ac54cbdb Add Freivalds' Algorithm for randomized matrix multiplication verification (#6340) 2025-07-04 13:16:57 +03:00
codingmydna
712ada5102 Correct column pointer initialization in RowColumnWiseSorted2dArrayBinarySearch (#6333) 2025-07-02 12:51:56 +00:00
dependabot[bot]
ebf5c3d326 chore(deps): bump peter-evans/create-pull-request from 5 to 7 in /.github/workflows (#6330)
chore(deps): bump peter-evans/create-pull-request in /.github/workflows

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v5...v7)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-01 15:37:33 +00:00
dependabot[bot]
55d08d657d chore(deps): bump com.puppycrawl.tools:checkstyle from 10.26.0 to 10.26.1 (#6331)
chore(deps): bump com.puppycrawl.tools:checkstyle

Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.26.0 to 10.26.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.26.0...checkstyle-10.26.1)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-version: 10.26.1
  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-07-01 00:11:54 +03:00
Deniz Altunkapan
7da9c6dd63 Update DIRECTORY.md (#6329) 2025-06-30 21:58:21 +03:00
KevinMwita7
bb36d13c93 Add RR cache (#6307) 2025-06-30 18:45:37 +00:00
Deniz Altunkapan
9abf4e38de Update DIRECTORY.md (#6328)
Co-authored-by: DenizAltunkapan <DenizAltunkapan@users.noreply.github.com>
2025-06-30 07:17:33 +02:00
Deniz Altunkapan
617412efc0 delete workflows from update-directorymd.yml (#6327) 2025-06-29 14:57:07 +02:00
Deniz Altunkapan
d06fe8b012 Update update-directorymd.yml (#6326) 2025-06-29 14:47:07 +02:00
Deniz Altunkapan
e43a1f75e6 Update update-directorymd.yml using PAT (#6324)
Update update-directorymd.yml
2025-06-29 13:20:37 +02:00
Deniz Altunkapan
d14873f172 Automatically create pull requests for directory updates (#6322) 2025-06-29 12:16:02 +03:00
Deniz Altunkapan
67ccb62465 Modernize GitHub Action to auto-generate DIRECTORY.md (#6308) 2025-06-29 07:05:51 +00:00
dependabot[bot]
981d73d02c chore(deps): bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.3.1 to 4.9.3.2 (#6319)
chore(deps): bump com.github.spotbugs:spotbugs-maven-plugin

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

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-version: 4.9.3.2
  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-06-28 16:18:32 +03:00
dependabot[bot]
a8ad162517 chore(deps): bump org.apache.maven.plugins:maven-pmd-plugin from 3.26.0 to 3.27.0 (#6317)
chore(deps): bump org.apache.maven.plugins:maven-pmd-plugin

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

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-pmd-plugin
  dependency-version: 3.27.0
  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-06-26 00:47:39 +03:00
dependabot[bot]
ba0b0c4176 chore(deps): bump com.puppycrawl.tools:checkstyle from 10.25.0 to 10.26.0 (#6315)
chore(deps): bump com.puppycrawl.tools:checkstyle

Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.25.0 to 10.26.0.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.25.0...checkstyle-10.26.0)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-version: 10.26.0
  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-06-25 20:33:03 +00:00
Piotr Idzik
5529cb2ca4 chore: explicitly set permissions (#6316) 2025-06-25 23:30:04 +03:00
dependabot[bot]
428d259f7c chore(deps): bump gitpod/workspace-java-21 from 2025-05-14-07-50-25 to 2025-06-18-16-47-14 (#6312)
chore(deps): bump gitpod/workspace-java-21

Bumps gitpod/workspace-java-21 from 2025-05-14-07-50-25 to 2025-06-18-16-47-14.

---
updated-dependencies:
- dependency-name: gitpod/workspace-java-21
  dependency-version: 2025-06-18-16-47-14
  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-06-25 18:46:54 +00:00
dependabot[bot]
a91ad201df chore(deps): bump org.junit:junit-bom from 5.13.1 to 5.13.2 (#6314)
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit-framework) from 5.13.1 to 5.13.2.
- [Release notes](https://github.com/junit-team/junit-framework/releases)
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.1...r5.13.2)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-version: 5.13.2
  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-06-25 18:43:39 +00:00
dependabot[bot]
bb71ae2121 chore(deps): bump com.github.spotbugs:spotbugs-maven-plugin from 4.9.3.0 to 4.9.3.1 (#6313)
chore(deps): bump com.github.spotbugs:spotbugs-maven-plugin

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

---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
  dependency-version: 4.9.3.1
  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-06-25 18:40:36 +00:00
Piotr Idzik
83bc063a39 chore: perform CodeQL scan on actions (#6309) 2025-06-25 21:37:06 +03:00