1570 Commits

Author SHA1 Message Date
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
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
dee4fc747c Change Java version to 17 (#2819)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-11-15 07:38:34 +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
4fb7470f9a Update DIRECTORY.md (#2818) 2021-11-13 13:10:08 +02:00
9fb3364ccc Change project structure to a Maven Java project + Refactor (#2816) 2021-11-12 08:59:36 +02:00
8e533d2617 Add Damm algorithm (Fixes: #2814) (#2815)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-11-10 18:33:52 +02:00
e240c1e33c Add Dequeue (#2809)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-11-09 09:49:35 +02:00
9b0543d281 Add Gaussian Elimination (#2810)
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-11-09 09:45:41 +02:00
ba6a3d6856 Add Breadth First Search (#2801)
Co-authored-by: xzero <andrejmezler@yahoo.de>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-11-08 20:25:18 +02:00
7f3eb1b6dc Add generic Node classes (#2782)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-11-08 20:03:06 +02:00
78f770683a Improve documentation for MatrixGraphs (#2808) 2021-11-08 20:59:14 +08:00