942 Commits

Author SHA1 Message Date
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
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
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
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
1f50c40e5d Add Next Greater and Next Smaller Elements using Stack (#2858) 2021-12-06 22:07:26 +02:00
bc6de37a53 Add RandomNode in lists section (#2851)
Co-authored-by: Yang Libin <contact@yanglibin.info>
2021-11-30 10:22:01 +08: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
e488b7b5bb Add Happy Numbers (#2839)
Co-authored-by: Louve Le Bronec <loane.le.bronec@eisti.fr>
Co-authored-by: Yang Libin <contact@yanglibin.info>
Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2021-11-26 19:35:35 +02:00
fb3cec06a1 Fix a bug in A_Star.Graph in jdk17 (#2842)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-11-24 10:29:38 +02:00
6c00beec90 Fix NoClassDefFoundError exception (#2838)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-11-23 08:55:24 +02:00
1869eab042 Add binomial coefficients (#2835) 2021-11-22 15:22:15 +02:00
fe7e5d842c Add author (#2831)
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-11-20 11:46:15 +02:00
6be3c99399 Add Boundary Fill Algorithm (#2822)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-11-15 07:39:42 +02:00
1f17076571 Add Flood Fill Algorithm Implementation (#2821)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-11-14 10:03:17 +02:00
9fb3364ccc Change project structure to a Maven Java project + Refactor (#2816) 2021-11-12 08:59:36 +02:00