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
e87e097f06 Cleanup unused imports (#3217) 2022-08-17 08:30:15 +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
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
bb5b50dea2 Add Z-Score Algorithm (#3065)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-05-29 11:16:04 +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
1a230bd61e Add New Prime Check (#3036) 2022-04-29 16:30:05 +03:00
3ebba74e04 Fix some typos (#3038) 2022-04-28 21:09:25 +08:00
41be089f6a Add Tests for Heron's Formula (#3035) 2022-04-28 10:40:13 +03:00
1320748c88 Code refactor for AbsoluteMin improvements (#3031)
Fix #3030

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2022-04-21 09:34:40 +08:00
c8b0a201da Code refactor for AbsoluteMax improvements (#3029)
Fix #3028

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2022-04-21 09:33:29 +08: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
a01be023e1 Add find kth element in an array (#2968) 2022-03-12 11:59:34 +02:00
49a4a83ada Refactor and add tests (fixes #2963) (#2964) 2022-03-10 19:56:26 +02:00
fe61eb2bdf Fix rounding in FFT (fixes #2961) (#2962) 2022-03-05 19:16:34 +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
5c7c6c4702 Add volume of prism and pyramid (#2902) 2022-01-10 17:36:37 +08:00
a0a392297e Add kaprekarNumberInRange (#2894)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-01-07 21:50:32 +02:00
32cdf02afb Add Pronic Number (#2867)
* Add Pronic Number

* Update directory

* Add unit tests for Pronic Number implementation

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-12-21 22:06:16 +02:00
98656cb0cd Add Kaprekar Numbers (#2881) 2021-12-15 16:55:04 +02:00
b1242e045b Add Pascal's Triangle (#2871)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-12-13 22:04:19 +02:00
b870de4db4 Fix formatting in Juggler Sequence (#2846) 2021-11-27 12:55:32 +02:00
2954ed2ab1 Add Juggler Sequence (#2845)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-11-26 19:39:14 +02:00