e5c7a08874
Handle inputs like "2 +"
in StackPostfixNotation
( #4262 )
2023-07-26 14:11:28 +03:00
44dcebb699
Handle incorrect inputs in StackPostfixNotation
( #4261 )
2023-07-26 06:20:56 +00:00
2488a2ad51
Code cleanup ( #4246 )
2023-07-22 15:23:00 +00:00
63739f4933
refactor: simplify HammingDistance
( #4218 )
...
* refactor: make HammingDistance an utility class
* tests: add some tests, simplify logic of some
* refator: simplify logic in HammingDistance
* style: remove logging messages
2023-06-21 21:11:13 +05:30
7a3273ae1d
tests: add tests for SieveOfEratosthenes
( #4217 )
...
* tests: add tests for SieveOfEratosthenes
* feat: throw for inputs <= 0
* refactor: simplify logic in SieveOfEratosthenes.findPrimesTill
* refactor: make SieveOfEratosthenes a utility class
* docs: update docs, fix typo
2023-06-20 23:58:53 +05:30
87d6083bac
Add tests for EulersFunction ( #4216 )
2023-06-19 20:46:54 +03:00
415a04ea7f
Add automatic linter ( #4214 )
2023-06-09 20:05:14 +08:00
00282efd8b
style: format code ( #4212 )
...
close #4204
2023-06-09 18:52:05 +08:00
ad03086f54
Remove main and add tests for CountWords ( #4210 )
2023-06-02 16:28:33 +00:00
5d7a59654f
Refactor LowestBasePalindrome ( #4207 )
2023-05-29 23:05:23 +03:00
bb830e9559
Add tests for TwoSumProblem and reduce duplication ( fixes #4177 ) ( #4176 )
2023-05-02 20:03:21 +03:00
1551b8f50b
Add line sweep algorithm ( #4157 )
2023-04-19 08:12:30 +00:00
1dc388653a
Refactor Code Style ( #4151 )
2023-04-15 11:25:54 +03:00
dd949e9b5d
Increase test coverage ( fixes #3895 #3896 ) ( #3897 )
2023-03-05 21:03:08 +02:00
b6c1d250f4
Add Conway Sequence ( #3807 )
...
Co-authored-by: Bruno Eloi <bruno.eloi@minfin.fed.be>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2023-01-14 12:22:15 +02:00
d5f140458a
Add two algorithms with matrixes ( #3364 )
2023-01-14 10:01:03 +00:00
b8d6b1a9b0
Create CRC16.java ( #3733 )
...
* Create CRC16.java
* Create CRC16Test.java
2022-11-09 10:20:54 +05:30
d88b70113f
Fix naming LinkList_sort
-> LinkListSort
( #3640 )
2022-10-24 21:27:17 +03:00
c805437c0c
Add tests for CountChar ( #3334 )
2022-10-12 18:42:24 +00:00
e96f567bfc
Format code with prettier ( #3375 )
2022-10-03 17:23:00 +08:00
2fbb1d6402
Add hamming distance ( #3270 )
2022-09-24 16:14:39 +03:00
8f18b92f6e
Add count set bits algorithm ( #3262 )
2022-09-14 17:05:23 +00:00
0d97d0bc8e
Add Devcontainer Support ( #3156 )
...
Co-authored-by: Arindam Paul <arindam.paul.1989@gmail.com>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-06-24 16:29:08 +03:00
c0b2c56628
Add tests for PasswordGen ( #3163 )
2022-06-23 09:23:11 +03:00
2bcae52dce
Rename CPUalgorithms to MemoryManagmentAlgorithms ( #3071 )
2022-05-31 16:12:59 +03:00
10f41eeee9
Add max of mins algorithm ( #3044 )
2022-05-08 12:05:05 +03:00
060069cf73
Add Golomb Sequence ( fixes #2889 ) ( #2991 )
2022-04-06 19:02:30 +03: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
857c4aafb2
Add linked list sorting ( #2882 )
...
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-01-19 21:35:43 +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