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
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
933e929b54
refactor: refactor Ceil and improved tests ( #6366 )
...
* refactor: refactor Ceil and improved tests
* checkstyle: remove redundant import
* refactor: fix edge cases
* refactor: fix checkstyle
* refactor: fix checkstyle import order
2025-07-14 07:47:22 +02:00
Oleksandr Klymenko
dba2d869f2
refactor: improving GenericRoot ( #6365 )
...
refactor: improving GenericRoot
2025-07-12 06:51:49 +00:00
Oleksandr Klymenko
fa2ca9db39
refactor: improve PythagoreanTriple logic and add parameterized tests ( #6350 )
2025-07-08 00:29:52 +03:00
Deniz Altunkapan
1745d19f09
refactor: unified duplicate Anagram classes into a single implementation ( #6290 )
2025-06-11 20:04:06 +03:00
Piotr Idzik
0072ed9aa7
style: do not suppress lossy-conversions ( #6206 )
2025-03-31 19:20:58 +02: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
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
BILLSARAN
754bf6c5f8
Add Goldbach's Conjecture algorithm ( #6127 )
2025-01-13 23:37:58 +02:00
Patient_Pace_Coder
779381f902
Update Armstrong ( #6131 )
2025-01-13 10:04:08 +02:00
Piotr Idzik
a9633c0000
style: include ICAST_IDIV_CAST_TO_DOUBLE ( #6121 )
2025-01-10 20:50:09 +02:00
Stanislav Belogolov
14db275c2b
Improve Vampire Number ( #6110 )
2025-01-01 22:43:00 +00:00
Strange Developer
df0c997e4b
General performance improvement ( #6078 )
2024-11-01 19:52:42 +02:00
Muhammad Junaid Khalid
d1c1e6b4d2
Add uniform number counting algorithm ( #6052 )
2024-10-29 17:46:29 +00:00
Taranjeet Singh Kalsi
921821214f
Add a new method to check Perfect Square ( #5917 )
2024-10-26 11:30:33 +00:00
Taranjeet Singh Kalsi
95875b0ae4
Add another method to find kth number ( #5918 )
2024-10-26 11:26:01 +00:00
Taranjeet Singh Kalsi
871e4df0d9
Add another method to check Pronic number ( #5919 )
2024-10-26 11:19:16 +00:00
UTSAV SINGHAL
1577ec4e62
Add Catalan number ( #5846 )
2024-10-26 10:10:20 +00:00
Ayush Kumar
3b2ba488bb
Add chinese remainder theorem ( #5873 )
2024-10-25 17:51:31 +00:00
Tanmay Singh
0bb22fbc7d
Remove main function from GCD class ( #5828 )
2024-10-22 18:04:00 +00:00
Tanmay Singh
ef72b1e40b
Remove main function, improve docstring, add JUnit tests for KrishnamurthyNumber. ( #5881 )
2024-10-22 17:54:45 +00:00
Hardik Pawar
9eff71bf05
Add tests for ConvolutionFFT ( #5767 )
2024-10-15 11:41:26 +00:00
Piotr Idzik
8886e0996a
style: include OCP_OVERLY_CONCRETE_PARAMETER ( #5833 )
2024-10-14 23:46:28 +03:00
Byte Bender
3af4cfd7c8
Add SumOfOddNumbers ( #5730 )
2024-10-14 23:02:40 +03:00
Saahil Mahato
31de2db0ae
Add fast exponentiation algorithm ( #5715 )
2024-10-12 10:39:05 +03:00
Saahil Mahato
1c978c52f1
feat: add karatsuba multiplication ( #5719 )
...
* feat: add karatsuba multiplication
* fix: fallback size
* fix: big integer instances
---------
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com >
2024-10-11 14:13:51 +00:00
Saahil Mahato
79544c81eb
feat: add solovay strassen primality test ( #5692 )
...
* feat: add solovay strassen primality test
* chore: add wikipedia link
* fix: format and coverage
* fix: mvn stylecheck
* fix: PMD errors
* refactor: make random final
---------
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com >
2024-10-10 23:41:58 +03:00
Sailok Chinta
bd9e324e8c
Add QuadraticEquationSolver and test cases ( #5619 )
2024-10-07 21:17:45 +00:00
Ahmed Elazab
7c56a734e9
Add Volume "Algorithm Frustum Of Cone" Then Test It. ( #5479 )
...
* Add Function volumeFrustum To Calculate Frustum Of Cone Then Test It.
* Add Function volumeFrustumOfCone To Calculate Frustum Of Cone Then Test It.
* Update VolumeTest.java
* Update Volume.java
2024-09-30 23:24:24 +05:30
Piotr Idzik
27343e7aa8
fix: handle Null Dereference in NthUglyNumber ( #5469 )
2024-09-24 23:30:38 +05:30
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
d189c3a719
refactor: LeastCommonMultiple ( #5435 )
...
* refactor: LeastCommonMultiple
* checkstyle: fix formatting
---------
Co-authored-by: alxkm <alx@alx.com >
2024-08-30 08:43:45 +02:00
Alex Klymenko
b231a72d44
refactor: NonRepeatingElement ( #5375 )
2024-08-24 16:08:22 +03:00
Alex Klymenko
4e72056527
refactor: FindKthNumber ( #5374 )
2024-08-24 11:53:35 +03:00
Alex Klymenko
84fb717509
test: DeterminantOfMatrix ( #5376 )
2024-08-24 11:38:16 +03:00
Alex Klymenko
0301ecf1cb
refactor: Pow ( #5364 )
2024-08-23 11:59:20 +03:00
Alex Klymenko
fb55552ebb
refactor: fix typo ( #5363 )
2024-08-23 10:58:08 +03:00
Bayram Turgut
6f521145cc
Update Average.java ( #5309 )
...
* Update Average.java
- Made the constructor throw an UnsupportedOperationException to prevent instantiation, making it explicit that this is a utility class.
- Added a private validateInput method to handle validation, reducing code duplication and improving readability.
- Consistent exception messages and handling for both methods.
- Improved comments to be more descriptive and follow JavaDoc conventions.
- Enhanced code readability and maintained consistent formatting.
* Minor Update Average.java
* Change To Average.java
* Mnr Average.java
* Update_Average.java
* Fix Average.java
1. throw new IllegalArgumentException("Numbers array cannot be empty or null");
2. int --> double
* fix2.java
return(double)..
2024-08-04 23:45:54 +05:30
Piotr Idzik
5840579885
style: include BigIntegerInstantiation ( #5294 )
2024-07-16 11:39:11 +03:00
Piotr Idzik
96e59e063a
style: include DLS_DEAD_LOCAL_STORE ( #5276 )
2024-07-05 22:52:54 +03: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
cdb3affdd9
style: enable AvoidNestedBlocks in checkstyle ( #5228 )
...
* enable style AvoidNestedBlocks
* refactor after enable style AvoidNestedBlocks
* fix clang
* fix checkstyle
* fix pmd
---------
Co-authored-by: Samuel Facchinello <samuel.facchinello@piksel.com >
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com >
2024-06-14 16:57:30 +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
Piotr Idzik
f8698674b3
style: include IM_BAD_CHECK_FOR_ODD ( #5213 )
2024-06-13 10:07:14 +05:30
Piotr Idzik
b315b7d578
style: include WMI_WRONG_MAP_ITERATOR ( #5206 )
2024-06-06 00:22:12 +05:30