* Migrate recursive reverse string method and tests to ReverseString
- Moved recursive reverse method from ReverseStringRecursive.java to ReverseString.java
- Moved tests from ReverseStringRecursiveTest.java to ReverseStringTest.java
- Deleted old ReverseStringRecursive files
* Fix formatting for ReverseStringTest.java as per clang-format linter
* fix: revert ReverseStack deletions and ensure lint compliance
* Fix formatting for ReverseStack and test files
* Delete ReverseStackUsingRecursion and its test as requested
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
* Add DFS with parent-completion constraint for DAG traversal
* warning in PartitionProblem.java affecting tests
* added clang-format and updated javadoc
* optimized imports and rechecked camelCase format in tests
* removed .* import and made small visual change
* replaced a inline return with correct {} block
* Removed changed in PartitionProblem.java, Renamed class name to be straightforward about the implementation.Added full names instead of shortcuts, and included record.
* updated for clang format
---------
Co-authored-by: Deniz Altunkapan <93663085+DenizAltunkapan@users.noreply.github.com>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>