943 Commits

Author SHA1 Message Date
199c85d191 Add Polybius Cipher (#3185) 2022-07-11 15:15:14 +00:00
f7bd7682ba Update Combinations.java and add test case (#3184) 2022-07-08 19:31:09 +08:00
826b612d0d Add testcase to Ceil Algorithm (#3183)
Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-07-07 14:24:24 +08:00
8c8a61a224 Fix CircleLinkedList toString (#3182) 2022-07-07 14:18:46 +08:00
f7c40ad749 Change filename for Intersection.java file (#3178)
Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-07-05 17:50:46 +08:00
3fb9a606a3 Add test case to Binomial Coefficient Algorithm (#3179)
Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-07-05 17:37:11 +08:00
f273b30998 Add test case to BinaryPow Algorithm (#3177)
Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-07-04 20:53:56 +08:00
8b8e98e89a Fix TreeRandomNode Algorithm (#3174)
Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-07-03 17:49:32 +08:00
b0f21803d1 Simplify CheckVowels (#3172) 2022-07-01 14:58:28 +03:00
6665ab262c Add a check of the existance of a next node (#3051)
* Fix #2976

Co-authored-by: Sahil Prafulkumar Parekh <sh883193@dal.ca>
Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-06-29 20:02:40 +08:00
bf3ad33d34 Fix typo (#3167) 2022-06-27 05:36:39 +00:00
85c836c795 Add quick sort tests (#3165) 2022-06-24 08:57:01 +03:00
d8c9c1ac85 Add Hamming Distance (#3164) 2022-06-23 09:29:08 +03:00
e572354976 Fix off-by-one mistake in MinHeap.java (#3162) 2022-06-23 09:27:21 +03:00
2a2c575c89 Add LFU Cache (#3161) 2022-06-22 19:31:24 +03:00
d14a5d1eed Fix SkipList remove operation (#3160) 2022-06-22 21:56:35 +08:00
e59568bc5e Add Skip List (#3154) 2022-06-21 10:41:22 +03:00
22be348c54 Add algorithm to find Hamiltonian cycle (#3151) 2022-06-20 21:07:41 +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
ec1ab53eea Reduce memory usage of bloom filter (#3115) 2022-06-10 20:44:23 +03:00
2bcae52dce Rename CPUalgorithms to MemoryManagmentAlgorithms (#3071) 2022-05-31 16:12:59 +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
550adb2287 Fix Bug in Tim Sort (#3050)
Co-authored-by: Sahil Prafulkumar Parekh <sh883193@dal.ca>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-05-20 20:19:18 +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
1a230bd61e Add New Prime Check (#3036) 2022-04-29 16:30:05 +03:00
3ebba74e04 Fix some typos (#3038) 2022-04-28 21:09:25 +08: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
7c31c5bada Add else clause for node (#3014)
Co-authored-by: Samir M'Sallem <samir.msallem@valtech-mobility.com>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-04-22 19:50:04 +03:00
64f1e51df4 Add pigeonhole sort (fixes #2992) (#3013) 2022-04-21 15:35:27 +03:00
1320748c88 Code refactor for AbsoluteMin improvements (#3031)
Fix #3030

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2022-04-21 09:34:40 +08:00
c8b0a201da Code refactor for AbsoluteMax improvements (#3029)
Fix #3028

Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2022-04-21 09:33:29 +08: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
ab544c3b9f Fix Null Pointer Exception in strings/Upper (#3005)
Co-authored-by: Yang Libin <contact@yanglibin.info>
2022-04-05 17:02:20 +08:00
e7ff986414 Fix CheckVowels (#3004)
Close #2990
2022-04-04 16:44:38 +08: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
77bcd4daa3 Fix singly linked list (#2988) 2022-04-03 16:11:43 +03:00