Alex Klymenko
0087444e9f
feat: add SelectionSortRecursive
( #5255 )
...
* Implementation: SelectionSort using recursion
* Documentation: adding links
* Fix issue with findMinIndex
* Fix: change findMinIndex method to recursive
* Fix: improve variable change scope
* Fix: Replacing recursive method findMinIndex with iterative. To fix StackOverFlow on huge arrays
* refactor: remove `null` check
* Fix: Removing redundant null check
---------
Co-authored-by: alxklm <alx@alx.com>
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-06-28 09:18:06 +02:00
Alex Klymenko
7054535d36
feat: add WaveSort
( #5252 )
...
* Implementing WaveSort Algorithm
* Refactor: Tests to ParameterizedTest
* Checkstyle: Fix wrong align
* Checkstyle: Fix wrong align for second line
* Checkstyle: Remove redundant line
* Naming: fix method name
* Documentation: adding links
* Fix: adding test for isWaveSorted method
* Documentation: adding description for WaveSort
* Testing: test wave sort assert
* Checkstyle: remove redundant whitespace
* Checkstyle: remove redundant newline
* Testing: improving tests
---------
Co-authored-by: alxklm <alx@alx.com>
Co-authored-by: vil02 <65706193+vil02@users.noreply.github.com>
2024-06-26 22:41:54 +02:00
StarDxxx
a81fb32e6c
style: enable TypeName
( #5214 )
...
* style: enable `TypeName` in checkstyle
* style: enable `TypeName` in checkstyle
* Update directory
* style: use proper formatting
---------
Co-authored-by: StarDxxx <StarDxxx@users.noreply.github.com>
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-06-08 13:37:20 +02:00
Bama Charan Chhandogi
37c2a96fe2
style: enable MissingSwitchDefault
in checkstyle ( #5179 )
...
* Update directory
* Update directory
* Update directory
* Update directory
* add switch default
---------
Co-authored-by: BamaCharanChhandogi <BamaCharanChhandogi@users.noreply.github.com>
2024-05-26 17:28:00 +05:30
Piotr Idzik
90704d736b
fix: update clang-format
tag ( #5095 )
2024-04-08 23:08:31 +05:30
SOZEL
c53f178308
Implement Parentheses Generator ( #5096 )
...
* chore: add `ParenthesesGenerator` to `DIRECTORY.md`
* feat: implement Parentheses Generator
* ref: change `ParenthesesGenerator`s method to `static`
* ref: use parametrized tests
* ref: handling exception when `n < 0`
* chore: update docstrings
* ref: make `ParenthesesGenerator` to be a proper utility
* chore(docs): add private constructor docstring
* ref(tests): move bad name suggestions
* style: remove reduntant comments
---------
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2024-04-05 18:41:27 +02:00
Piotr Idzik
098f044370
Remove CalculateMaxOfMin
( #5079 )
2024-03-22 19:18:08 +08:00
Govind Gupta
9bef5a169c
Add Playfair Cipher ( #4988 )
2024-01-03 15:14:38 +02:00
aryan1165
7ece806cf5
Remove duplicate file of Simple Substitution Cipher ( fixes #4494 ) ( #4495 )
2023-12-26 00:24:28 +02:00
Niklas Hoefflin
e26fd9da71
Add OR-Set (Observed-Remove Set) ( #4980 )
2023-12-11 23:05:43 +02:00
Niklas Hoefflin
b8b1dea38d
Add LWW Element Set (Last Write Wins Element Set) ( #4979 )
2023-12-08 20:57:07 +02:00
Niklas Hoefflin
249ee1dc99
Add 2P-Set (Two-Phase Set) for both addition and removal operations in distributed systems ( #4977 )
2023-12-07 17:23:22 +02:00
Niklas Hoefflin
e59a3b1ebb
Add G-Set (Grow-only Set) ( #4975 )
2023-12-05 20:39:18 +02:00
Niklas Hoefflin
3001620c1e
Add PN-Counter ( #4974 )
2023-12-04 18:22:02 +02:00
Niklas Hoefflin
e759544c33
Add Boruvka's algorithm to find Minimum Spanning Tree ( #4964 )
2023-12-02 19:53:17 +02:00
Ricardo Ramos
e9bbf35ff9
Add FloorTest
and clean-up Floor
( #4769 )
...
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Ricardo Ramos <0102016812@grupotel.corp>
2023-10-12 00:21:53 +03:00
SwargaRajDutta
af80c8005d
Add Sliding Window Problem ( #4322 )
2023-08-18 14:08:40 +00:00
Bama Charan Chhandogi
1ef5208b75
Add M-coloring Problem ( #4282 )
...
Co-authored-by: BamaCharanChhandogi <b.c.chhandogi@gmailcom>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2023-08-05 22:00:26 +03:00
Albina Gimaletdinova
fc274c84f8
Fix style in AmicableNumbers ( #4263 )
2023-07-26 16:52:46 +03:00
Albina Gimaletdinova
dec3b98e4b
Refactor FibonacciJavaStreams and add unit tests ( #4260 )
2023-07-25 22:42:09 +03:00
Albina Gimaletdinova
2456d86432
Add unit tests for ParseInteger ( #4228 )
2023-07-02 11:31:55 +03:00
Albina Gimaletdinova
4b45ac7e71
Add unit tests for PalindromeNumber ( #4227 )
2023-07-01 18:29:10 +00:00
Albina Gimaletdinova
8862a4dea5
Add unit tests for FibonacciNumberCheck ( #4225 )
2023-07-01 20:52:52 +03:00
Albina Gimaletdinova
bc699b86e5
Refactor BinaryTreeIsBalanced algorithm ( #4222 )
2023-06-26 22:26:17 +08:00
acbin
415a04ea7f
Add automatic linter ( #4214 )
2023-06-09 20:05:14 +08:00
Aditya Pal
19bd2408ff
Des ( #4172 )
...
* Update directory
* Add DES Encryption algorithm
* Update directory
---------
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2023-04-30 20:19:14 +05:30
Andrii Siriak
d241fafd64
Remove blinking test for BufferedReader ( #4153 )
2023-04-14 11:33:22 +03:00
David Leal
7fe9928ee8
docs: improve the issue forms ( #3797 )
...
* docs: improve the issue forms
* Update directory
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2022-12-17 18:58:52 +05:30
Debasish Biswas
260f1b2bee
Remove duplicate KnapsackMemoization ( #3769 )
2022-11-19 13:32:01 +02:00
Aidar Djamalbek
1c7da7af25
Add LongDivision ( #3691 )
2022-11-06 12:18:14 +02:00
Aidar Djamalbek
1a391c2fe9
Add ValidParentheses ( #3689 )
2022-11-01 19:26:13 +02:00
Aidar Djamalbek
fea982d54d
Create Atoi Function.java ( #3756 )
...
* Create MyAtoi.java
There is a method in C++, which converts String to an Integer, called Atoi function, this is my own implementation of this function.
* Update directory
* Update MyAtoi.java
* Create MyAtoiTest.java
* Update directory
* Update directory
* Update directory
* Update MyAtoi.java
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>
2022-11-01 16:34:14 +05:30
Hyun
5864f3296f
Add BogoSort Tests ( #3716 )
2022-10-31 19:52:57 +00:00
Shashwat Gupta
32b9b11ed5
Update Directory.md ( #3309 )
2022-10-01 13:00:51 +03:00
Kalash Jain
276bbe2530
Fix errors in Directory.md ( #3272 )
2022-09-18 21:27:15 +03:00
LauKinHoong
3f69603440
Add least common multiple algorithm ( #3216 )
2022-08-17 08:59:07 +03:00
Artem Boiarshinov
a910d8754e
Specify python version for CI job ( #3157 )
2022-06-22 22:00:33 +08:00
Omar
9b5dca5534
Add directories ( #3043 )
2022-05-05 19:29:20 +03:00
Vivek
719e1d8132
Update Armstrong Number ( #2981 )
2022-04-10 17:11:05 +03:00
Eduardo Cabral
1fc897ed4d
Fix outdated directory.md ( #2995 )
2022-03-31 11:19:39 +08:00
ZiQiang Cao
a30f08b8b2
Fix typo ( #2950 )
2022-02-18 21:58:22 +02:00
Suraj Kumar
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
Preshita01
97dfbfd67f
Fix formatting errors in DIRECTORY.md ( #2896 )
2022-01-04 16:11:28 +02:00
Akshay Dubey
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
Andrii Siriak
8e01cd46bf
Switch CI builds to Maven ( #2863 )
2021-12-07 08:22:28 +02:00
Yang Libin
b870de4db4
Fix formatting in Juggler Sequence ( #2846 )
2021-11-27 12:55:32 +02:00
Sachwin Kohli
fe7e5d842c
Add author ( #2831 )
...
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-11-20 11:46:15 +02:00
Aitor Fidalgo Sánchez
4fb7470f9a
Update DIRECTORY.md ( #2818 )
2021-11-13 13:10:08 +02:00
Sachwin Kohli
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
JadenLeake333
f9e42010a2
Update directory ( fixes #2785 ) ( #2786 )
2021-10-31 07:31:21 +02:00