1686 Commits

Author SHA1 Message Date
2fbb1d6402 Add hamming distance (#3270) 2022-09-24 16:14:39 +03:00
07a5531f1a Add prime factorization algorithm (#3278) 2022-09-21 19:29:20 +00:00
d56eaa58af Add LRUCacheTest and MRUCacheTest (fixes #3263) (#3277) 2022-09-19 20:55:15 +03:00
a2dd154ad6 Add BubbleSort unit tests (#3275) 2022-09-19 17:23:08 +00:00
276bbe2530 Fix errors in Directory.md (#3272) 2022-09-18 21:27:15 +03:00
a41656a311 Add pollard rho algorithm (#3260) 2022-09-16 07:27:40 +00:00
9c418ba827 Add pangram check tests (#3267) 2022-09-15 13:31:11 +00:00
8f18b92f6e Add count set bits algorithm (#3262) 2022-09-14 17:05:23 +00:00
20a1f40c5a Add Isomorphic Strings (#3253)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-09-13 02:29:26 +03:00
1e4c4a112d Add Perimeter Calculation Algorithms (#3247)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-09-08 10:05:06 +03:00
d22420fea8 Fix off-by-one error (fixes #3248) (#3250) 2022-09-07 09:01:22 +03:00
69d0070c99 Add mobius function (#3241) 2022-09-03 06:34:06 +00:00
6cfb628487 Add Binary Search in 2D Array (#3240) 2022-09-03 09:31:55 +03:00
9e37775506 Replace List in BFS with Queue (#3231) 2022-08-28 05:46:58 +00:00
c500e8ae5a Add Newton Raphson method (#3224) 2022-08-27 09:40:06 +03:00
2ffcff12fc Fix fast inverse sqrt (fixes #3199) (#3228)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-08-24 13:37:07 +03:00
12a4e27213 Fix printTreepre (#3218) 2022-08-18 20:40:20 +03:00
3f69603440 Add least common multiple algorithm (#3216) 2022-08-17 08:59:07 +03:00
e87e097f06 Cleanup unused imports (#3217) 2022-08-17 08:30:15 +03:00
05660dae92 Add K-D Tree (#3210) 2022-08-13 11:00:00 +00:00
854b900257 Add Josephus Problem Recursive Solution (#3208) 2022-08-13 10:50:39 +00:00
4aa58b63d2 Fix grammar in CONTRIBUTING.md (#3215) 2022-08-12 19:28:19 +03:00
3e8f30c72a Add Lazy Segment Tree (#3209) 2022-08-10 17:27:53 +00:00
d63813e0a2 Add maze recursion algorithm (#3204) 2022-08-08 20:47:04 +03:00
d82a2006ba Add Binary Insertion Sort (#3206) 2022-08-07 08:19:25 +00:00
b36f359076 Add Strand Sort (#3205) 2022-08-06 20:22:42 +00:00
92bd9ba3c9 Add Rabin-Karp String Search Algorithm (#3201) 2022-08-05 20:29:35 +03:00
965c20381c Add KMP String Search Algorithm (#3200) 2022-08-03 20:46:44 +03:00
3918d9eaee Add three new distance formulas (#3203)
-Manhattan Distance
-Hamming Distance
-Minkowski Distance
2022-08-02 21:39:52 +03:00
9b13852f20 Fix missing package paths (#3196) (#3198) 2022-07-22 22:51:38 +03:00
898c2f6414 Add tests for Selection Sort (#3091) 2022-07-19 20:40:59 +03:00
0abce97682 Add Hash Table with Cuckoo Hashing (#3191) 2022-07-18 18:01:29 +00:00
ffd02504d9 Add generic hashmaps (#3195) 2022-07-17 23:00:55 +03:00
1a9937c7cb Add index validation to Min Heap and Max Heap (#3189)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2022-07-13 17:40:21 +00:00
b2f6827c36 Add Tests for DigitalRoot Algorithm (#3186) 2022-07-12 06:29:49 +00:00
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
2a23770873 Add tests for Amicable Numbers (#3168) 2022-06-28 18:36:06 +00:00
bf3ad33d34 Fix typo (#3167) 2022-06-27 05:36:39 +00:00
c750283a1c Add testcase to Automorphic Number Algorithm (#3166) 2022-06-27 08:34:42 +03: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
85c836c795 Add quick sort tests (#3165) 2022-06-24 08:57:01 +03:00