2790 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
cca4038008 Run actions only if code related files changes (#3000) 2022-04-07 20:49:44 +03:00
060069cf73 Add Golomb Sequence (fixes #2889) (#2991) 2022-04-06 19:02:30 +03:00
ab544c3b9f Fix Null Pointer Exception in strings/Upper (#3005)
Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-04-05 17:02:20 +08:00
e7ff986414 Fix CheckVowels (#3004)
Close #2990
2022-04-04 16:44:38 +08: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
77bcd4daa3 Fix singly linked list (#2988) 2022-04-03 16:11:43 +03:00
63f486c6ba Add tests for CharacterSame (#2989) 2022-03-31 20:54:48 +03:00
1fc897ed4d Fix outdated directory.md (#2995) 2022-03-31 11:19:39 +08:00
d53c2cef8c Modify singly linked list swap function to swap nodes (#2983) 2022-03-26 21:31:11 +02: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
1d5d672fbd Refactor to remove code smells (#2982)
Co-authored-by: Rushi <rs397441@dal.ca>
2022-03-21 20:35:11 +02:00
4da27429c4 Add Largest Rectangle Problem (fixes #2916) (#2971) 2022-03-14 23:19:42 +02:00
a01be023e1 Add find kth element in an array (#2968) 2022-03-12 11:59:34 +02:00
260a302563 Fix bound checks in flood fill (fixes #2836) (#2974) 2022-03-12 11:56:43 +02:00
63637c439d Remove white spaces (#2975) 2022-03-11 09:39:55 +08:00
49a4a83ada Refactor and add tests (fixes #2963) (#2964) 2022-03-10 19:56:26 +02:00
f0b52022e8 Fix spelling (#2973) 2022-03-08 17:46:01 +02:00
1ac1a5a6a5 Add Postfix to Infix using Stack (fixes #2339) (#2970) 2022-03-06 08:59:45 +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
cf07de8afa Add Newman–Shanks–Williams prime (#2884) (#2955)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-02-26 09:54:10 +02:00
68e2ba29d4 Fix typos (fixes #2941) (#2948) 2022-02-20 10:11:41 +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
a30f08b8b2 Fix typo (#2950) 2022-02-18 21:58:22 +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
e4fa83bd29 Add select random tree node algorithm (#2906)
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-01-21 21:20:11 +02:00
857c4aafb2 Add linked list sorting (#2882)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-01-19 21:35:43 +02:00
76fbe7c9e9 Update LongestPalindromicSubstring - Remove ; (#2905)
Removing unnecessary semi-colon ';'

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2022-01-13 09:59:11 +08: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
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
97dfbfd67f Fix formatting errors in DIRECTORY.md (#2896) 2022-01-04 16:11:28 +02:00
549a27a327 Add bruteforce to the caesar cipher (#2887) 2022-01-01 23:16:53 +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
734f7a4a04 Add Array Left Rotation (#2869) 2021-12-11 18:54:12 +02:00
0bb7db2d87 Add anagrams (#2859)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-12-09 20:47:45 +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
8e01cd46bf Switch CI builds to Maven (#2863) 2021-12-07 08:22:28 +02:00