Deniz Altunkapan
2b18008811
Update DIRECTORY.md ( #6446 )
...
Co-authored-by: DenizAltunkapan <DenizAltunkapan@users.noreply.github.com >
2025-07-26 10:45:38 +02:00
dinishajais
a8b579e293
#6336/enhancement/Refactor: Standardize comparison logic using SortUtils ( #6442 )
...
* Refactoring compareTo() to SortUtils methods
* Adding formatting
* Removed excess parenthesis
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-26 08:37:54 +00:00
Lucas Gomes
2eb80fb843
Remove duplicate SimpleSort (same logic as ExchangeSort) ( #6441 )
...
* Remove duplicate SimpleSort (same logic as ExchangeSort)
* Removed test class for SimpleSort as it was also duplicate
---------
Co-authored-by: Lucas G <lucasgomesm1808@gmail.com >
2025-07-26 10:34:00 +02:00
Oleksandr Klymenko
032f75c0f4
testing: improve DisjointSetUnionTest ( #6440 )
...
* testing: improve DisjointSetUnionTest
* testing: redundant variable for DisjointSetUnionTest
2025-07-25 18:04:52 +00:00
Oleksandr Klymenko
040d3850ac
testing: improve BagTest ( #6435 )
...
* testing: improve BagTest
* style: fix checkstyle for BagTest
* testing: redundant test
2025-07-25 18:01:12 +00:00
Oleksandr Klymenko
edb8167374
testing: improve test coverage NodeStackTest ( #6432 )
...
* testing: improve test coverage NodeStackTest
* style: fix style issues
* testing: fix type
* testing: fix import
* testing: fix import
2025-07-25 19:58:15 +02:00
Oleksandr Klymenko
fc07cd806e
testing: improve test coverage StackOfLinkedListTest ( #6430 )
...
* testing: improve test coverage StackOfLinkedListTest
* testing: fix spotbugs
2025-07-24 21:36:52 +02:00
Oleksandr Klymenko
4f16ad0b0e
testing: improve test coverage DequeTest ( #6429 )
...
testing: improve test coverage DequeTest
2025-07-24 18:41:02 +00:00
Oleksandr Klymenko
ac5849323e
testing: improve test coverage CursorLinkedListTest ( #6428 )
...
* testing: improve test coverage CursorLinkedListTest
* style: fix checkstyle formatting
2025-07-24 20:34:31 +02:00
Oleksandr Klymenko
ec7b654d0b
testing: improve StackArrayTest ( #6424 )
...
testing: improve StackArrayTest
2025-07-24 12:42:33 +03:00
Oleksandr Klymenko
699271665d
testing: improve QueueTest ( #6423 )
...
* testing: improve QueueTest
* testing: fix test
2025-07-23 22:02:52 +02:00
Oleksandr Klymenko
7e3fbae1a4
testing: improve SortStackTest ( #6422 )
...
testing: improve SortStackTest
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-23 17:09:18 +02:00
Oleksandr Klymenko
073b6f15a8
testing: improve CircularBufferTest ( #6418 )
...
* testing: improve CircularBufferTest
* style: redundant whitespace
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-23 07:44:38 +02:00
dependabot[bot]
bcfb3f22e6
chore(deps): bump org.junit:junit-bom from 5.13.3 to 5.13.4 ( #6434 )
...
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit-framework ) from 5.13.3 to 5.13.4.
- [Release notes](https://github.com/junit-team/junit-framework/releases )
- [Commits](https://github.com/junit-team/junit-framework/compare/r5.13.3...r5.13.4 )
---
updated-dependencies:
- dependency-name: org.junit:junit-bom
dependency-version: 5.13.4
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-22 23:39:53 +02:00
Oleksandr Klymenko
3304cf2e58
testing: improve QueueByTwoStacksTest ( #6416 )
...
testing: improve QueueByTwoStacksTest
2025-07-22 19:33:55 +02:00
Deniz Altunkapan
7c2af29d29
Update DIRECTORY.md ( #6431 )
...
Co-authored-by: alxkm <alxkm@users.noreply.github.com >
2025-07-22 17:25:46 +00:00
Oleksandr Klymenko
ceead5eccd
testing: refactor to ParameterizedTest PrefixEvaluatorTest ( #6415 )
...
testing: refactor to ParameterizedTest PrefixEvaluatorTest
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-22 17:22:08 +00:00
Vishwajeet Deshmane
cfd784105b
Feat(Improved): Add 0/1 Knapsack Problem: Recursive and Tabulation (Bottom-Up DP) Implementations in Java along with their corresponding Tests ( #6425 )
...
* feat: Add 0/1 Knapsack and its tabulation implementation with their corresponding tests
* feat: Add 0/1 Knapsack and its tabulation implementation with their corresponding tests
* feat: Add 0/1 Knapsack and its tabulation implementation with their corresponding tests
* Feat:add 0/1knapsack and 0/1knapsacktabulation along with their tests
* Feat:add 0/1knapsack and 0/1knapsacktabulation along with their tests
* Feat:add 0/1knapsack and 0/1knapsacktabulation along with their tests
---------
Co-authored-by: Oleksandr Klymenko <alexanderklmn@gmail.com >
2025-07-22 19:17:24 +02:00
Oleksandr Klymenko
bbbc1dd946
testing: improving CountSinglyLinkedListRecursionTest ( #6413 )
...
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-22 16:52:33 +00:00
Oleksandr Klymenko
78b62191ab
testing: improving GenerateSubsetsTest ( #6412 )
...
* testing: improving GenerateSubsetsTest
* testing: change List to more common Iterable
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-22 18:49:37 +02:00
Deniz Altunkapan
9a46339bec
Update DIRECTORY.md ( #6426 )
...
Co-authored-by: DenizAltunkapan <DenizAltunkapan@users.noreply.github.com >
2025-07-21 19:05:48 +02:00
IDDQD
c9cc8f4698
Add cache with LIFO replacement policy ( #6390 )
...
* Added Random Replacement cache
* Implement cache with LIFO replacement policy
* Ran clang-format
* Make necessary variables final, replace HashMap.newHashMap(int capacity) with new HashMap<>(int capacity)
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-21 18:11:13 +02:00
Nishitha Wihala
2dfad7ef8f
Add matrix multiplication with double[][] and unit tests ( #6417 )
...
* MatrixMultiplication.java created and updated.
* Add necessary comment to MatrixMultiplication.java
* Create MatrixMultiplicationTest.java
* method for 2 by 2 matrix multiplication is created
* Use assertMatrixEquals(), otherwise there can be error due to floating point arithmetic errors
* assertMatrixEquals method created and updated
* method created for 3by2 matrix multiply with 2by1 matrix
* method created for null matrix multiplication
* method for test matrix dimension error
* method for test empty matrix input
* testMultiply3by2and2by1 test case updated
* Check for empty matrices part updated
* Updated Unit test coverage
* files updated
* clean the code
* clean the code
* Updated files with google-java-format
* Updated files
* Updated files
* Updated files
* Updated files
* Add reference links and complexities
* Add test cases for 1by1 matrix and non-rectangular matrix
* Add reference links and complexities
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-21 16:07:13 +00:00
Oleksandr Klymenko
2722b0ecc9
testing: improving SkipListTest ( #6411 )
...
* testing: improving SkipListTest
* style: fixed formatting
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-21 16:02:07 +00:00
Oleksandr Klymenko
75298bb3f4
testing: improving DequeTest ( #6410 )
...
* testing: improving DequeTest
* testing: redundant case
* testing: fix to many static imports
* testing: add more test cases
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-21 15:58:22 +00:00
Oleksandr Klymenko
0e9be57ed4
testing: improving PostfixEvaluatorTest ( #6405 )
...
* testing: improving PostfixEvaluatorTest
* testing: redundant cases
2025-07-21 17:55:07 +02:00
Oleksandr Klymenko
31bf130e9e
refactor: improving Median ( #6404 )
...
refactor: improving Median
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-20 08:21:46 +00:00
Deniz Altunkapan
b45fd2a656
Update DIRECTORY.md ( #6419 )
...
Co-authored-by: DenizAltunkapan <DenizAltunkapan@users.noreply.github.com >
2025-07-20 10:13:12 +02:00
Oleksandr Klymenko
171fdc9925
testing: improving CRCAlgorithmTest ( #6403 )
...
* testing: improving CRCAlgorithmTest
* style: fix formatting
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-20 08:03:23 +00:00
justakayy
c7af421dfa
test: PointTest.java #HSFDPMUW ( #6391 )
...
* test: added Tests for Point.java
* style: fixed formatting and comments
* style: formatted with clang-format and renamed variables
* style: fixed imports to not use the '.*' form
---------
Co-authored-by: Aaron <aaron@hochschule.de >
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-20 09:59:18 +02:00
Oleksandr Klymenko
0a46b828c2
testing: Enhance ValidParenthesesTest ( #6398 )
...
* testing: improve test coverage ValidParenthesesTest
* style: fix formatting for checkstyle
* style: fix formatting for checkstyle
* style: fix import
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-19 14:07:54 +00:00
Oleksandr Klymenko
334543f54c
testing: improve test coverage PriorityQueuesTest ( #6397 )
...
testing: improve test coverage PriorityQueuesTest
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-19 14:04:10 +00:00
Oleksandr Klymenko
d14e8a60e8
testing: improve test coverage DuplicateBracketsTest ( #6396 )
...
* testing: improve test coverage DuplicateBracketsTest
* style: fix formatting checkstyle
* style: fix formatting checkstyle
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-19 08:00:49 +00:00
Oleksandr Klymenko
76aea4254c
testing: improving test coverage DisjointSetUnionTest ( #6394 )
...
* testing: improving test coverage DisjointSetUnionTest
* style: remove redundant comment
* testing: removing unused variable
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-19 09:57:58 +02:00
Deniz Altunkapan
5c6d3c3443
Update DIRECTORY.md ( #6414 )
...
Co-authored-by: DenizAltunkapan <DenizAltunkapan@users.noreply.github.com >
2025-07-18 23:01:50 +02:00
Oleksandr Klymenko
d6a871e683
testing: improve test coverage RangeInSortedArrayTest ( #6395 )
...
* testing: improve test coverage RangeInSortedArrayTest
* style: fix formatting checkstyle
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-18 22:55:37 +02:00
Oleksandr Klymenko
fc477ee8da
testing: improving test coverage CountingInversionsTest ( #6393 )
...
testing: improving test coverage CountingInversionsTest
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-18 21:29:16 +02:00
dependabot[bot]
44c572b36b
chore(deps): bump com.mebigfatguy.fb-contrib:fb-contrib from 7.6.11 to 7.6.12 ( #6406 )
...
chore(deps): bump com.mebigfatguy.fb-contrib:fb-contrib
Bumps [com.mebigfatguy.fb-contrib:fb-contrib](https://github.com/mebigfatguy/fb-contrib ) from 7.6.11 to 7.6.12.
- [Commits](https://github.com/mebigfatguy/fb-contrib/commits/v7.6.12 )
---
updated-dependencies:
- dependency-name: com.mebigfatguy.fb-contrib:fb-contrib
dependency-version: 7.6.12
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: Oleksandr Klymenko <alexanderklmn@gmail.com >
2025-07-18 13:58:17 +03:00
Oleksandr Klymenko
d0d4b3c8fb
testing: additional testcases for CountSinglyLinkedListRecursionTest ( #6392 )
...
testing: additional testcases for CountSinglyLinkedListRecursionTest
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-18 05:51:11 +00:00
Oleksandr Klymenko
2f2a32b8c2
testing: improve test coverage ParityCheckTest ( #6389 )
...
testing: improve test coverage ParityCheckTest
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-17 20:03:24 +00:00
Oleksandr Klymenko
7f6e677b07
testing: improve test coverage SortedLinkedListTest ( #6388 )
...
* testing: improve test coverage SortedLinkedListTest
* checkstyle: fix comments formatting
* checkstyle: fix formatting
2025-07-17 22:00:41 +02:00
Oleksandr Klymenko
054002adb2
testing: added unit tests for the MinStackUsingTwoStacks ( #6387 )
...
* testing: added unit tests for the MinStackUsingTwoStacks
* checkstyle: fix import order
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-17 15:37:46 +00:00
Oleksandr Klymenko
a796f6dc41
testing: added unit tests for the BinaryPow.binPow ( #6386 )
...
testing: added unit tests for the BinaryPow.binPow
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-17 15:32:48 +00:00
Oleksandr Klymenko
440b6f5edf
testing: improve tests coverage AbsoluteValueTest ( #6385 )
...
testing: improve tests coverage AbsoluteValueTest
2025-07-17 17:29:45 +02:00
Oleksandr Klymenko
dd1a51b20f
testing: add more cases for AverageTest ( #6384 )
...
* testing: add more cases for AverageTest
* checkstyle: fix formatting
2025-07-16 15:10:22 +00:00
Oleksandr Klymenko
434ab50ff4
refactor: Convolution ( #6382 )
...
refactor: Convolution
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-16 15:05:13 +00:00
Oleksandr Klymenko
d55e89dc71
refactor: Mode ( #6381 )
...
refactor: Mode
2025-07-16 17:02:16 +02:00
Oleksandr Klymenko
dcb02c61df
refactor: MajorityElement ( #6380 )
...
* refactor: MajorityElement
* refactor: fix import ordering
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-15 17:10:06 +02:00
Oleksandr Klymenko
287a708c7f
refactor: Intersection ( #6379 )
...
refactor: Intersection improvement
2025-07-15 17:04:58 +02:00
Oleksandr Klymenko
ca7c77f16b
refactor: improving DisjointSetUnion ( #6378 )
...
* refactor: improving DisjointSetUnion
* refactor: remove comment as it already in description
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com >
2025-07-15 05:31:09 +00:00