27 Commits

Author SHA1 Message Date
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
060069cf73 Add Golomb Sequence (fixes #2889) (#2991) 2022-04-06 19:02:30 +03:00
8d099ee7d1 Update Anagrams and add unit test (#3002)
* Add test for Anagrams
* Update Anagrams.java

Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-04-04 16:34:27 +08:00
140f6ec6e3 Add test for Upper (#3001) 2022-04-04 16:21:53 +08:00
1b02b41fcc Add test for Palindrome (#2993) 2022-04-03 16:19:24 +03:00
63f486c6ba Add tests for CharacterSame (#2989) 2022-03-31 20:54:48 +03:00
7d5de041eb Test alphabetical (#2987) 2022-03-24 08:03:36 +02:00
8b71a15cbb Add test for Pangram.java (#2986) 2022-03-23 22:34:50 +02:00
260a302563 Fix bound checks in flood fill (fixes #2836) (#2974) 2022-03-12 11:56:43 +02: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
cf07de8afa Add Newman–Shanks–Williams prime (#2884) (#2955)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-02-26 09:54:10 +02:00
2cb4c2fff4 Add unique paths (fixes #2873) (#2943)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-02-19 13:59:14 +02:00
0a062d4616 Add tests for Kadane algorithm (#2877) (#2939)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-02-13 20:24:31 +02:00
adadb2f6d6 Unify dynamic memory allocation algorithms (#2935) 2022-02-10 19:08:21 +02:00
12c67bc501 Add permutations and combinations (#2932) 2022-02-09 20:57:14 +02:00
101d08ae24 Add Square Root by Babylonian Method (#2883) 2022-01-30 20:49:32 +02:00
857c4aafb2 Add linked list sorting (#2882)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-01-19 21:35:43 +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
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
734f7a4a04 Add Array Left Rotation (#2869) 2021-12-11 18:54:12 +02:00
66d8d51de6 Add Quick Select (#2860)
Co-authored-by: Nils Goldmann <goldman09@mi.fu-berlin.de>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-12-08 21:38:19 +02:00