02RdDT
616d15a408
Shortest coprime segment using sliding window technique ( #6296 )
...
* Shortest coprime segment using sliding window technique
* mvn checkstyle passes
* gcd function reformatted
* fixed typo in ShortestCoprimeSegment
* 1. shortestCoprimeSegment now returns not the length, but the shortest segment itself.
2. Testcases have been adapted, a few new ones added.
* clang formatted ShortestCoprimeSegmentTest.java code
2025-06-18 21:29:35 +02:00
Deniz Altunkapan
1745d19f09
refactor: unified duplicate Anagram classes into a single implementation ( #6290 )
2025-06-11 20:04:06 +03:00
Pau López Núñez
0b21bb0a38
Add Boyer-Moore string search algorithm with JUnit tests ( #6274 )
2025-06-11 15:37:42 +00:00
Saipriya Patnaik
e41c2b9456
Add Unit Tests for Empty and Single-Node Graphs in TopologicalSort ( #6263 )
2025-06-11 00:07:24 +03:00
Piotr Idzik
7602f1ef4c
chore: suppress unchecked in selected classes ( #6262 )
2025-06-05 19:13:46 +03:00
Piotr Idzik
ec6f09c373
chore: suppress rawtypes in selected classes ( #6261 )
2025-06-05 14:23:28 +03:00
Raveendra Pujari
e123ca12c7
tests: properly test Isomorphic ( #6259 )
...
Fixes #6258
---------
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com >
2025-06-04 00:09:46 +02:00
Piotr Idzik
292b4e506e
style: resolve IMC_IMMATURE_CLASS_COLLECTION_RETURN ( #6256 )
2025-06-03 15:47:50 +00:00
Piotr Idzik
3b9bdcc066
style: do not use ArgumentsProvider as deprecated ( #6253 )
2025-06-03 15:43:15 +00:00
Soham Kamble
2320b46b3f
Add BTree implementation ( #6248 )
2025-05-28 15:00:41 +03:00
Vibhu Khera
b09766ede4
Add Randomized Quick Sort ( #6234 )
2025-05-09 21:50:09 +00:00
Muhammad Ezzat
6fe630cdf2
Add Monte Carlo's Integral Approximation ( #6235 )
2025-05-09 20:27:27 +00:00
Muhammad Ezzat
571d05caa8
Add Karger's minimum cut algorithm ( #6233 )
2025-05-05 18:09:28 +03:00
Vusal Huseynov
ad5e496b0c
Add LongestIncreasingSubsequenceNLogN ( #6221 )
2025-04-15 13:08:45 +00:00
cureprotocols
f53bc0080b
Add ReservoirSampling algorithm to randomized module ( #6204 )
2025-04-07 23:58:44 +03:00
Piotr Idzik
251e9e1902
refactor: introduce SinglyLinkedListNode ( #6210 )
2025-04-02 18:51:40 +03:00
Deniz Altunkapan
743f9660a8
Add Traveling Salesman Problem ( #6205 )
2025-03-31 22:18:19 +00:00
Sufiyan Chougule
45148874e8
Add feature to convert numeric words to their number representation ( #6195 )
2025-03-18 12:29:20 +02:00
David Kong
5285a3d7aa
Add a linear system solver ( #6196 )
2025-03-14 21:57:55 +00:00
Hakim's Garage
769e4975f6
Add Parenthesis to MathBuilder ( #6193 )
2025-03-14 22:34:03 +02:00
Hakim's Garage
e6073f8fef
Add math builder ( #6190 )
2025-03-12 18:35:21 +02:00
Deniz Altunkapan
c8281e02fb
Add Maximum Weighted Matching Algorithm for Trees ( #6184 )
2025-03-01 10:52:06 +02:00
geetoormvn
849ab913c0
Add reverseUsingStringBuilder method to reverse a string ( #6182 )
2025-02-27 10:45:52 +00:00
Nithin U
5be5e35d2d
Add Heavy-Light Decomposition (HLD) ( #6169 )
2025-02-17 16:55:06 +02:00
Niklas Hoefflin
63ce6b8ca5
Refactor LWWElementSet ( #6164 )
2025-02-13 22:33:52 +02:00
Deniz Altunkapan
d4b28b348e
Add Constrained Shortest Path Problem (CSPP) / Shortest Path Problem with Resource Constraints (SPPRC) ( #6155 )
2025-01-28 12:33:58 +02:00
varada610
4ef06822ca
Create package prime, matrix and games ( #6139 )
2025-01-27 11:10:41 +00:00
Muhammad Rizwan
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
Muhammad Rizwan
30d0c064a7
Fix absolute max bug ( #6144 )
2025-01-18 21:51:56 +02:00
Sahil Kumar Valecha
5454e2ff62
Add DarkSort Algorithm ( #6141 )
2025-01-18 19:34:34 +02:00
Prathamesh Zingade
466ff0b4c2
Add convertion of numbers into their word representation ( #6137 )
2025-01-16 09:46:57 +02:00
BILLSARAN
754bf6c5f8
Add Goldbach's Conjecture algorithm ( #6127 )
2025-01-13 23:37:58 +02:00
Rully
08c0f4ac2d
improve zig-zag-pattern ( #6128 )
2025-01-12 13:13:01 +02:00
varada610
1e6ed97fcf
Refactor files to be in correctly nested packages ( #6120 )
2025-01-11 09:17:40 +02:00
Stanislav Belogolov
14db275c2b
Improve Vampire Number ( #6110 )
2025-01-01 22:43:00 +00:00
Nguyen Tan Phat
2fff579045
Add unit test for EditDistance ( #6108 )
2024-12-21 15:02:58 +02:00
likespro
1a2aeddec3
Add optimized version of DijkstraAlgorithm ( #6088 )
2024-11-19 09:09:06 +02:00
Alex Klymenko
04bfaa8278
Rename Recursion package ( #6081 )
2024-11-03 14:13:10 +02:00
Mohamed Boukthir
539871a33e
Add Fibonacci series to Recursion package ( #6079 )
2024-11-02 22:44:24 +02:00
Strange Developer
df0c997e4b
General performance improvement ( #6078 )
2024-11-01 19:52:42 +02:00
Shreya
7b962a4a1d
Add Exponential Moving Average Filter ( #6075 )
2024-11-01 08:38:27 +00:00
Hardik Pawar
03bb8ee66e
Enhance docs, add tests in MaxHeap ( #5983 )
2024-10-29 22:47:33 +02:00
Rashi Dashore
b14db816bd
Add shuffle array ( #6026 )
2024-10-29 20:30:22 +00:00
Hardik Pawar
857d921b07
Enhance docs, add tests in ReverseKGroup ( #5999 )
2024-10-29 20:22:31 +00:00
Hardik Pawar
94fb92e508
Enhance docs, add tests in GenericHeap ( #5980 )
2024-10-29 20:11:30 +00:00
Hardik Pawar
63d13b6f3a
Enhance docs, add tests in GenericHashMapUsingArray ( #5972 )
2024-10-29 18:51:27 +00:00
Hardik Pawar
fd14016c86
Enhance docs, add more tests in ReverseBits ( #5859 )
2024-10-29 18:17:30 +00:00
Hardik Pawar
54567e2ed3
Enhance docs, add more tests in SwapAdjacentBits ( #5861 )
2024-10-29 18:12:46 +00:00
Hardik Pawar
b31bc86192
Enhance docs, add tests in AVLTree ( #6058 )
2024-10-29 18:02:33 +00:00
Hardik Pawar
e94be712df
Add RandomScheduling algorithm ( #5810 )
2024-10-29 17:52:37 +00:00