943 Commits

Author SHA1 Message Date
f2e0126469 Use GCM mode in AES (fixes #3324) (#3325) 2022-10-18 21:24:25 +03:00
8803b7f5e7 Add tests for Area (#3358) 2022-10-18 21:03:58 +03:00
ddcb5cfead Create test cases for SlowSort (closes #3361) (#3363) 2022-10-17 15:15:06 +00:00
8855cf9525 Optimize Hashmap implementation (#3533) 2022-10-17 14:36:09 +00:00
cdd12a128d Add Dual Pivot QuickSort (#3357) 2022-10-15 06:06:36 +00:00
efac505a6d Add twin prime (#3312) 2022-10-14 09:36:26 +00:00
c805437c0c Add tests for CountChar (#3334) 2022-10-12 18:42:24 +00:00
c59fc923bf Add fcfs scheduling (#3335)
Co-authored-by: Smiti <smmaheshwari@paypal.com>
2022-10-12 21:39:34 +03:00
911b98472c Add Tests for Dudeney Number (#3336) 2022-10-10 17:25:06 +00:00
8661d07276 Add sum without using any mathematical operators (#3473) 2022-10-10 20:19:01 +03:00
03a4832a7d Add an interface for matrix search algorithms (closes #3461) (#3464) 2022-10-09 14:45:36 +03:00
cce1dbd124 Add algorithm to search for an element in 2D array (#3306) 2022-10-09 12:23:36 +03:00
302db81bb8 Fixes #3323 Javadoc generation errors in backtracking algorithms (#3326) 2022-10-08 14:10:34 +03:00
471d2c0b5d Fix CircularBuffer and add unit tests (#3411) 2022-10-06 16:51:10 +08:00
e96f567bfc Format code with prettier (#3375) 2022-10-03 17:23:00 +08:00
e4eb99ff18 Add A5 Cipher (#3292) 2022-09-27 16:33:13 +00:00
8ca571d887 Add Collatz Conjecture (#3290) 2022-09-26 04:51:21 +00:00
ea8e0463ef Add Liouville lambda function (#3284) 2022-09-24 13:18:12 +00:00
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
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
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
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