* Create TortoiseHareAlgorithm.java
Implement TortoiseHareAlgo with append, getMiddle, and toString methods
- Added generic singly linked list with inner Node class
- Implemented append() to add elements
- Implemented getMiddle() using Tortoise-Hare approach
- Added toString() for readable list representation
* Create TortoiseHareAlgoTest.java
Add JUnit tests for TortoiseHareAlgo
- Verified append() and toString() output
- Tested getMiddle() for odd, even, and empty lists
- Ensured correct behavior and null handling
* Update README.md
Add TortoiseHareAlgo to linked list documentation
- Added TortoiseHareAlgo.java to file descriptions
- Described its purpose: finding middle element using Tortoise-Hare algorithm
* Rename TortoiseHareAlgorithm.java to TortoiseHareAlgo.java
Fixed build error
* Update TortoiseHareAlgoTest.java
Fixed line formatting build error
* Update TortoiseHareAlgoTest.java
Fixed line formatting build error
* Update TortoiseHareAlgo.java
Added {} after if statement instead of directly writing statement
* Update TortoiseHareAlgo.java
Fixed line formatting build error
* Update TortoiseHareAlgo.java
Added {} after if statement instead of directly writing statement
* Update TortoiseHareAlgoTest.java
Replace .* import with specific imports
---------
Co-authored-by: Deniz Altunkapan <deniz.altunkapan@outlook.com>
* Add Yen’s K-shortest loopless paths with tests and index update
* style: fix Checkstyle in Yens algorithm and tests
* fix: resolve SpotBugs in Yens algorithm
* fix (PMD): rename short variables in the code
* (pmd): code fixes
* fix(bloomfilter): hash arrays by content to satisfy array membership tests
* style(pmd): fix EmptyControlStatement in validate() by returning early when src==dst
* style(pmd): remove unnecessary return in validate()
* feat: added TwoSat solutions and Tests and also updated Directory.md
* added reference urls to the article related to the 2-SAT
* Fix generic type warnings in TwoSat.java
* maven build fix: added rawtypes in SuppressWarnings
* fixed checkstyle error
* fix: Sorted import order
---------
Co-authored-by: a <alexanderklmn@gmail.com>
* 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>
* 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>