53 Commits

Author SHA1 Message Date
6235fd6505 Add tests for Average (#3652) 2022-10-25 15:00:53 +03:00
8803b7f5e7 Add tests for Area (#3358) 2022-10-18 21:03:58 +03:00
efac505a6d Add twin prime (#3312) 2022-10-14 09:36:26 +00:00
911b98472c Add Tests for Dudeney Number (#3336) 2022-10-10 17:25:06 +00:00
8661d07276 Add sum without using any mathematical operators (#3473) 2022-10-10 20:19:01 +03:00
e96f567bfc Format code with prettier (#3375) 2022-10-03 17:23:00 +08:00
8ca571d887 Add Collatz Conjecture (#3290) 2022-09-26 04:51:21 +00:00
ea8e0463ef Add Liouville lambda function (#3284) 2022-09-24 13:18:12 +00:00
07a5531f1a Add prime factorization algorithm (#3278) 2022-09-21 19:29:20 +00:00
a41656a311 Add pollard rho algorithm (#3260) 2022-09-16 07:27:40 +00:00
1e4c4a112d Add Perimeter Calculation Algorithms (#3247)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-09-08 10:05:06 +03:00
69d0070c99 Add mobius function (#3241) 2022-09-03 06:34:06 +00:00
c500e8ae5a Add Newton Raphson method (#3224) 2022-08-27 09:40:06 +03:00
2ffcff12fc Fix fast inverse sqrt (fixes #3199) (#3228)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-08-24 13:37:07 +03:00
3f69603440 Add least common multiple algorithm (#3216) 2022-08-17 08:59:07 +03:00
854b900257 Add Josephus Problem Recursive Solution (#3208) 2022-08-13 10:50:39 +00:00
3918d9eaee Add three new distance formulas (#3203)
-Manhattan Distance
-Hamming Distance
-Minkowski Distance
2022-08-02 21:39:52 +03:00
898c2f6414 Add tests for Selection Sort (#3091) 2022-07-19 20:40:59 +03:00
b2f6827c36 Add Tests for DigitalRoot Algorithm (#3186) 2022-07-12 06:29:49 +00:00
f7bd7682ba Update Combinations.java and add test case (#3184) 2022-07-08 19:31:09 +08:00
826b612d0d Add testcase to Ceil Algorithm (#3183)
Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-07-07 14:24:24 +08:00
3fb9a606a3 Add test case to Binomial Coefficient Algorithm (#3179)
Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-07-05 17:37:11 +08:00
f273b30998 Add test case to BinaryPow Algorithm (#3177)
Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-07-04 20:53:56 +08:00
2a23770873 Add tests for Amicable Numbers (#3168) 2022-06-28 18:36:06 +00:00
c750283a1c Add testcase to Automorphic Number Algorithm (#3166) 2022-06-27 08:34:42 +03:00
678ec396fc Add tests for isPerfectSquare (#3131) 2022-06-15 19:19:27 +03:00
ba3c0319ed Add tests for sum of digits (#3083) 2022-06-09 09:50:16 +03:00
8982692ca6 Add tests for factorial (#3107) 2022-06-09 09:47:31 +03:00
45f3e5b6de Add a test for average (#3084)
Co-authored-by: thanhtri122002 <thanhnt122002@122002>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-06-08 18:19:42 +03:00
de
77e481336e Add test for Armstrong (#3104)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-06-08 18:15:01 +03:00
9b4ac70403 Add more tests for findMin (#3102)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-06-07 08:21:46 +03:00
8e8d11a63c Add Tests for FindMin (#3079) 2022-06-04 19:49:37 +03:00
2fb87c37fc Add tests for PythagoreanTriple (#3070) 2022-06-02 17:21:40 +03:00
e5057defa7 Add tests for findMax (#3067) 2022-05-30 14:11:30 +03:00
bb5b50dea2 Add Z-Score Algorithm (#3065)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-05-29 11:16:04 +03:00
f35eef285a Add tests for GCD and PrimeCheck (#3062) 2022-05-25 13:46:20 +03:00
239b274069 Add Euclidean Distance Formula (#3047) 2022-05-11 22:23:56 +03:00
c52b2a649c Add Standard Deviation (#3039) 2022-05-01 10:32:03 +03:00
41be089f6a Add Tests for Heron's Formula (#3035) 2022-04-28 10:40:13 +03:00
9f7613b467 Code refactor for AliquotSum improvements (#3027)
Fix #3026
2022-04-21 09:31:55 +08:00
4b15b2c021 Code refactor for ADTFraction improvements (#3016)
Fix #3015

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2022-04-20 16:20:47 +08:00
5eed0849ef Code refactor for AbsoluteValue improvements (#3018)
Fix #3017

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2022-04-20 16:17:44 +08:00
64b624efb2 Code refactor for AbsoluteMax improvements (#3020)
Fix #3019

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2022-04-20 16:15:30 +08:00
02375e0683 Code refactor for AbsoluteMin improvements (#3022)
Fix #3021
2022-04-20 16:12:55 +08:00
719e1d8132 Update Armstrong Number (#2981) 2022-04-10 17:11:05 +03:00
49a4a83ada Refactor and add tests (fixes #2963) (#2964) 2022-03-10 19:56:26 +02:00
8bf74929e3 Refactor algorithm & add Junit test (fixes #2959) (#2960) 2022-03-04 18:25:42 +02:00
101d08ae24 Add Square Root by Babylonian Method (#2883) 2022-01-30 20:49:32 +02:00
ab9f74c2ee Add BigInteger to karprekar number (#2899)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-01-12 22:23:53 +02:00
2a27d09a17 Update PascalTriangleTest (#2900)
* Update in indentation to makes code more readable

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2022-01-11 14:56:59 +08:00