Lê Nam Khánh
d28fee9665
chore: fix typos in src/main/java/com/thealgorithms/dynamicprogramming/BoundaryFill.java ( #7049 )
...
Fix typos in src/main/java/com/thealgorithms/dynamicprogramming/BoundaryFill.java
2025-11-05 15:53:18 +00:00
Sachin Pangal
e22ce0005e
feat-Add MaximumProductSubarray ( #6711 )
...
* feat-Add MaximumProductSubarray
* feat-changes
* fix: correct MaximumProductSubarray compilation errors
* fix-lints
* fix: apply clang-format to MaximumProductSubarrayTest.java
* fix: prevent integer overflow in MaximumProductSubarray using long type
2025-10-09 10:12:51 +03:00
Saahil Mahato
4fe37c3a10
feat: add needleman–wunsch sequence alignment algorithm ( #6707 )
...
Co-authored-by: a <alexanderklmn@gmail.com >
2025-10-08 20:27:30 +02:00
Saahil Mahato
f9edb70cd7
feat: add smith-waterman sequence alignment algorithm ( #6708 )
...
Co-authored-by: a <alexanderklmn@gmail.com >
2025-10-08 20:05:49 +02:00
Saahil Mahato
50b1bcdc67
feat: add damerau-levenshtein distance algorithm ( #6706 )
...
* feat: add damerau-levenshtein distance algorithm
* refactor: remove useless parentheses
* refactor: add class link to test
2025-10-08 18:09:18 +02:00
Priyanshu Kumar Singh
9484c7eead
FEAT(geometry): Add Haversine formula and fix build issues ( #6650 )
...
[FEAT] Implemented Haversine Formula
Co-authored-by: Priyanshu1303d <priyanshu130d@gmail.com >
2025-10-05 20:28:06 +02: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
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
Deniz Altunkapan
1745d19f09
refactor: unified duplicate Anagram classes into a single implementation ( #6290 )
2025-06-11 20:04:06 +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
Vusal Huseynov
ad5e496b0c
Add LongestIncreasingSubsequenceNLogN ( #6221 )
2025-04-15 13:08:45 +00:00
Deniz Altunkapan
c8281e02fb
Add Maximum Weighted Matching Algorithm for Trees ( #6184 )
2025-03-01 10:52:06 +02:00
Hardik Pawar
196cc60982
Add AllConstruct algorithm ( #5791 )
2024-10-26 14:40:17 +00:00
PANKAJ PATWAL
efb16c1eff
Add edge case to handle negative rod length in RodCutting algorithm ( #5904 )
2024-10-22 17:50:47 +00:00
Hardik Pawar
33dee073d0
Add AssignmentUsingBitmask algorithm ( #5792 )
2024-10-16 15:16:32 +03:00
Hardik Pawar
2a518e3c9a
Add Abbreviation algorithm ( #5790 )
2024-10-15 18:55:27 +03:00
PANKAJ PATWAL
e38611e9db
Optimize and Format Knapsack Memoization Algorithm ( #5685 )
2024-10-12 07:11:25 +00:00
Hardik Pawar
138793df1d
Improve docs, remove main, add tests for `MatrixChainRecursiveTopDo… ( #5659 )
2024-10-12 09:51:41 +03:00
Rupa
7326ab2c12
Add Space Optimized Solution to Subset sum problem ( #5612 )
2024-10-10 20:46:43 +00:00
Hardik Pawar
ac2c88ca9f
Add tests, add IllegalArgumentException, remove main in `WineProb… ( #5662 )
2024-10-10 21:19:37 +03:00
Hardik Pawar
c18dbc43b5
Add tests, add IllegalArgumentException in RodCutting ( #5661 )
2024-10-10 21:15:35 +03:00
Hardik Pawar
41f7e6aa9d
Add tests, improve docs in NewManShanksPrime ( #5660 )
2024-10-10 21:11:43 +03:00
Guhapriya Dharmaraj
44b0fc9408
Implement Maximum Sum of Non-Adjacent Elements ( #5544 )
2024-10-10 21:07:44 +03:00
Hardik Pawar
e728aa7d6f
Add tests, remove main, enhance docs in MatrixChainMultiplication ( #5658 )
2024-10-10 20:16:04 +03:00
Hardik Pawar
c0f35242a1
Add tests, remove print & main methods in BoundaryFill.java ( #5640 )
2024-10-09 22:56:51 +03:00
Hardik Pawar
029dd85646
Add tests, enhance docs in KadaneAlgorithm.java ( #5646 )
2024-10-09 22:36:00 +03:00
Hardik Pawar
ce9f42081d
Add tests, remove main, add negativity test in Fibonacci.java ( #5645 )
2024-10-09 22:20:45 +03:00
Hardik Pawar
4a0e46dae6
Add tests, remove main in DiceThrow/DP.java ( #5644 )
2024-10-09 22:16:20 +03:00
Hardik Pawar
6ddb26f48d
Add tests, remove main & print methods in CoinChange.java ( #5642 )
2024-10-09 22:04:04 +03:00
Sanketh L Reddy
2d34bc150f
Optimised Space Complexity To O(sum) ( #5651 )
...
* Optimised Space Complexity To O(sum)
* Fixes Clang Format
* Optimised Space Complexity To Use a Single DP Array
2024-10-09 16:57:11 +03:00
Hardik Pawar
0603accfd4
Add tests, remove main method, improve docs in BruteForceKnapsack ( #5641 )
2024-10-09 11:09:36 +03:00
Tuhinm2002
0d68b655d2
feat : new dp algo added UniqueSubsequenceCount.java ( #5586 )
...
* feat : new algo uniquesubseqcount
* Update UniqueSubsequencesCount.java
* Update UniqueSubsequencesCountTest.java
* Update UniqueSubsequencesCount.java
* Update UniqueSubsequencesCount.java
* Update UniqueSubsequencesCount.java
* Update UniqueSubsequencesCount.java
* Update UniqueSubsequencesCount.java
* Update UniqueSubsequencesCount.java
* Update UniqueSubsequencesCountTest.java
* Update UniqueSubsequencesCount.java
* Update UniqueSubsequencesCountTest.java
* Update UniqueSubsequencesCount.java
* Update UniqueSubsequencesCountTest.java
* Update UniqueSubsequencesCountTest.java
* Update UniqueSubsequencesCountTest.java
* Update UniqueSubsequencesCount.java
---------
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com >
2024-10-08 10:55:34 +03:00
Hardik Pawar
f34fe4d840
Enhance comments & improve readability in LongestCommonSubsequence.java ( #5523 )
2024-10-05 15:43:42 +03:00
Hardik Pawar
339027388e
Improve comments in SumOfSubset.java ( #5514 )
2024-10-05 15:39:22 +03:00
Tejaswi Tyagi
be8df2188c
Adds Longest Arithmetic Subsequence Implementation ( #5501 )
...
* Added LongestArthmeticSubsequence
---------
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com >
2024-10-03 15:04:49 +02:00
Hardik Pawar
842ff5294f
Improve comments & readability in ClimbingStairs.java ( #5498 )
2024-10-02 13:55:57 +00:00
Alex Klymenko
b0de93b3ce
refactor: change packages ( #5430 )
...
* refactor: change package
* refactor: fix name
---------
Co-authored-by: alxkm <alx@alx.com >
2024-08-30 11:58:24 +02:00
Alex Klymenko
f8ff6af893
refactor: BoardPath ( #5431 )
...
refactor: BoardPath
Co-authored-by: alxkm <alx@alx.com >
2024-08-30 10:12:31 +02:00
Alex Klymenko
cd38531b0d
refactor: SubsetSum ( #5432 )
...
* refactor: SubsetSum
* checkstyle: fix formatting
---------
Co-authored-by: alxkm <alx@alx.com >
2024-08-30 09:55:18 +02:00
Alex Klymenko
7d1847f51c
refactor: PalindromicPartitioning ( #5419 )
...
refactor: PalindromicPartitioning
Co-authored-by: alxkm <alx@alx.com >
2024-08-28 20:53:00 +02:00
Alex Klymenko
c413f3c6b2
refactor: LongestPalindromicSubstring ( #5420 )
...
* refactor: LongestPalindromicSubstring
* checkstyle: fix formatting
---------
Co-authored-by: alxkm <alx@alx.com >
2024-08-28 18:35:21 +02:00
Alex Klymenko
7674a84f5b
test: RegexMatchingTest ( #5403 )
...
* test: RegexMatchingTest
* checkstyle: fix formatting
---------
Co-authored-by: alxkm <alx@alx.com >
Co-authored-by: Andrii Siriak <siryaka@gmail.com >
2024-08-26 17:22:39 +03:00
Alex Klymenko
b70f077343
refactor: ShortestCommonSuperSequenceLength ( #5394 )
2024-08-26 11:50:12 +03:00
Alex Klymenko
be6b0d835b
test: EditDistanceTest ( #5397 )
2024-08-26 09:48:30 +03:00
Alex Klymenko
6edc009765
test: LongestAlternatingSubsequenceTest ( #5399 )
2024-08-26 09:37:00 +03:00
Alex Klymenko
e1d8b6f8a7
refactor: FordFulkerson ( #5384 )
2024-08-25 10:07:02 +03:00
Piotr Idzik
22f2abd94f
style: enable WhitespaceAround in checktyle ( #5241 )
2024-06-24 16:47:33 +08:00
Samuel Facchinello
74e51990c1
style: enable InvalidJavadocPosition in checkstyle ( #5237 )
...
enable style InvalidJavadocPosition
Co-authored-by: Samuel Facchinello <samuel.facchinello@piksel.com >
2024-06-18 19:34:22 +02:00
Samuel Facchinello
87b17e0571
style: enable NeedBraces in checkstyle ( #5227 )
...
* enable style NeedBraces
* style: enable NeedBraces in checkstyle
---------
Co-authored-by: Samuel Facchinello <samuel.facchinello@piksel.com >
2024-06-13 21:00:16 +02:00