57 Commits

Author SHA1 Message Date
22be348c54 Add algorithm to find Hamiltonian cycle (#3151) 2022-06-20 21:07:41 +03:00
6472d33092 Add heaps folder (#3150)
Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2022-06-20 21:04:13 +03:00
678ec396fc Add tests for isPerfectSquare (#3131) 2022-06-15 19:19:27 +03:00
4ccb9f460f Fix the folder structure (#3141) 2022-06-14 21:31:50 +08:00
a33a26a9d1 Cover CheckAnagrams with tests (#3124) 2022-06-14 10:50:50 +03:00
6c4092a46b Add Topological Sorting Algorithm (#3060)
Co-authored-by: thanhtri122002 <thanhnt122002@122002>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
Co-authored-by: Anh Pham <62592224+anhpham197@users.noreply.github.com>
Co-authored-by: SanOtaku <SanOtaku098@gmail.com>
Co-authored-by: Raghav Taneja <97575679+RaghavTaneja@users.noreply.github.com>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
Co-authored-by: Hai Nguyen <88832724+ntquanghai@users.noreply.github.com>
Co-authored-by: Utkarsh Yadav <Utkarshrock1510@gmail.com>
Co-authored-by: Phạm Minh Hiếu <84634830+Ph1eu@users.noreply.github.com>
Co-authored-by: nguyenviettrung-bi11276 <101244039+nguyenviettrung-bi11276@users.noreply.github.com>
Co-authored-by: TaiNguyen2001 <102779475+TaiNguyen2001@users.noreply.github.com>
Co-authored-by: de <88503943+HuyQHoang@users.noreply.github.com>
Co-authored-by: thanhtri122002 <93241140+thanhtri122002@users.noreply.github.com>
Co-authored-by: thanhtri122002 <thanhnt122002@122002>
2022-06-11 21:53:33 +03:00
ba3c0319ed Add tests for sum of digits (#3083) 2022-06-09 09:50:16 +03:00
8982692ca6 Add tests for factorial (#3107) 2022-06-09 09:47:31 +03:00
45f3e5b6de Add a test for average (#3084)
Co-authored-by: thanhtri122002 <thanhnt122002@122002>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-06-08 18:19:42 +03:00
de
77e481336e Add test for Armstrong (#3104)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-06-08 18:15:01 +03:00
9b4ac70403 Add more tests for findMin (#3102)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-06-07 08:21:46 +03:00
8e8d11a63c Add Tests for FindMin (#3079) 2022-06-04 19:49:37 +03:00
2fb87c37fc Add tests for PythagoreanTriple (#3070) 2022-06-02 17:21:40 +03:00
2bcae52dce Rename CPUalgorithms to MemoryManagmentAlgorithms (#3071) 2022-05-31 16:12:59 +03:00
e5057defa7 Add tests for findMax (#3067) 2022-05-30 14:11:30 +03:00
bb5b50dea2 Add Z-Score Algorithm (#3065)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-05-29 11:16:04 +03:00
2e09e44a38 Add ZigZag Encoding and Longest Nonrepetitive Substring Algorithms (#3058) 2022-05-26 12:47:23 +03:00
f35eef285a Add tests for GCD and PrimeCheck (#3062) 2022-05-25 13:46:20 +03:00
f9b788f7f4 Add Blowfish Algorithm (#3052) 2022-05-18 20:29:31 +03:00
239b274069 Add Euclidean Distance Formula (#3047) 2022-05-11 22:23:56 +03:00
10f41eeee9 Add max of mins algorithm (#3044) 2022-05-08 12:05:05 +03:00
f272d8a949 Add Bloom Filter (#3042) 2022-05-04 09:24:19 +03:00
00c758a299 Add Fibonacci Heap (#3037) 2022-05-02 18:56:05 +03:00
c52b2a649c Add Standard Deviation (#3039) 2022-05-01 10:32:03 +03:00
41be089f6a Add Tests for Heron's Formula (#3035) 2022-04-28 10:40:13 +03:00
dfdce96c6e Add Dutch National Flag Sort (#3025)
Co-authored-by: Antonia Strack <antonia.strack@thm.mni.de>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-04-25 17:02:15 +03:00
99ff5163e3 Add Wigglesort (#3032)
Co-authored-by: Antonia Strack <antonia.strack@thm.mni.de>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-04-25 16:54:33 +03:00
9f7613b467 Code refactor for AliquotSum improvements (#3027)
Fix #3026
2022-04-21 09:31:55 +08:00
4b15b2c021 Code refactor for ADTFraction improvements (#3016)
Fix #3015

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2022-04-20 16:20:47 +08:00
5eed0849ef Code refactor for AbsoluteValue improvements (#3018)
Fix #3017

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2022-04-20 16:17:44 +08:00
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
060069cf73 Add Golomb Sequence (fixes #2889) (#2991) 2022-04-06 19:02:30 +03: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
63f486c6ba Add tests for CharacterSame (#2989) 2022-03-31 20:54:48 +03: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
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
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
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
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
857c4aafb2 Add linked list sorting (#2882)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-01-19 21:35:43 +02:00