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
22002c9939
Generalize NthUglyNumber ( #4209 )
2023-06-02 14:17:26 +03:00
4bbc4bd69f
Refactor ReverseNumber ( #4208 )
2023-05-31 09:07:55 +03:00
b6e78a45ac
Add Octal To Binary Converter ( #4202 )
2023-05-30 07:37:50 +00:00
5d7a59654f
Refactor LowestBasePalindrome ( #4207 )
2023-05-29 23:05:23 +03:00
96c1a96647
Fix empty input handling in FindMax ( #4206 )
2023-05-28 23:45:13 +03:00
4f15149804
style: handle empty input array in FindMin.findMin
( #4205 )
...
* tests: add test case with mininum not being at the beginning
* style: throw IllegalArgumentException when input is empty
* style: use enhanced for loop
* docs: update doc-str
2023-05-28 16:38:44 +05:30
e14b30b88c
Fix empty input handling in GCD ( #4199 )
2023-05-27 17:58:56 +03:00
deef2ae445
Refactor CreateBinaryTreeFromInorderPreorder ( #4190 )
2023-05-14 14:52:30 +03:00
0255705388
Add WordSearch ( #4189 )
2023-05-12 22:44:16 +03:00
122f5e5556
Add Round Robin scheduling ( #4184 )
2023-05-10 16:04:55 +03:00
3109c11c59
Add Partition Problem ( #4182 )
2023-05-09 13:21:11 +03:00
3a593d5d3c
Cover BSTRecursive with tests ( #4180 )
2023-05-06 21:10:33 +03:00
89b7ee42e6
Add one more solution for anagrams check ( #4175 )
2023-05-05 20:50:47 +03:00
bb830e9559
Add tests for TwoSumProblem and reduce duplication ( fixes #4177 ) ( #4176 )
2023-05-02 20:03:21 +03:00
19bd2408ff
Des ( #4172 )
...
* Update directory
* Add DES Encryption algorithm
* Update directory
---------
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2023-04-30 20:19:14 +05:30
7ed65b0a1e
Add climbing stairs ( #4168 )
2023-04-28 20:34:15 +03:00
b55fc972ac
Add tests for HorspoolSearch ( #4165 )
2023-04-25 14:04:15 +03:00
f69cd7cfa2
Remove redundant code and add tests for BSTIterative ( #4164 )
2023-04-24 14:52:38 +03:00
4c18e60671
Refactor BSTFromSortedArray ( #4162 )
2023-04-22 07:53:12 +00: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
1ce907625b
Fix NullPointer Exception ( #4142 )
2023-04-15 11:10:39 +03:00
d241fafd64
Remove blinking test for BufferedReader ( #4153 )
2023-04-14 11:33:22 +03:00
8259f0e9cf
Add Majority Element ( #4131 )
2023-04-13 15:28:36 +03:00
7779c18ef6
Add More Tests ( #4148 )
2023-04-08 19:56:07 +03:00
8798e042a8
Refactor BinaryToDecimal class ( #4135 )
2023-04-03 22:42:50 +08:00
d160156003
Update AbsoluteMax ( #4140 )
2023-04-03 22:39:17 +08:00
86c93146d9
Add Run-Length Encoding ( fixes #3911 ) ( #3916 )
2023-03-19 09:51:48 +02:00
2418604f7a
Add tests for SinglyLinkedList ( #3913 )
2023-03-12 13:49:17 +02:00
a7e76c57a0
feat: Backtracking algorithms (All combinations) #3912 ( #3917 )
...
* ArrayCombination function which uses Combination.java by creating an array of 1 to n
* modified tests
2023-03-11 02:59:49 +05:30
b6563cf37a
Add Buffered Reader ( #3910 )
2023-03-07 10:13:46 +02:00
3e9dd776e5
Make LinkedQueue generic ( #3909 )
2023-03-05 19:08:42 +00:00
dd949e9b5d
Increase test coverage ( fixes #3895 #3896 ) ( #3897 )
2023-03-05 21:03:08 +02:00
87f9ebcb29
Add Frizzy Number ( fixes #3379 ) ( #3906 )
2023-03-01 17:16:32 +02:00
f3613382aa
Add All Paths from Source to Target ( fixes #3359 ) ( #3873 )
2023-02-28 12:46:17 +02:00
3499c1bee6
Add postorder binary tree traversal ( #3899 )
2023-02-27 12:06:39 +00:00
b98dc2c5b5
Fix linear probing hash map ( #3902 )
2023-02-26 21:15:48 +00:00
45923d6872
Add inorder binary tree traversal ( #3898 )
2023-02-25 20:58:06 +00:00
6d13d95e41
Graham scan algorithm ( #3903 )
...
* Added Graham scan algorithm #3894
* Added Graham scan algorithm (#3894 )
---------
Co-authored-by: Stronshade <diegobrocker1999@gmail.com>
2023-02-25 18:31:51 +05:30
be13981e94
Add tests for 2D array binary search ( #3892 )
2023-02-23 18:49:24 +00:00
6b9eb1b9c1
Add orderAgnosticBinarySearch ( #3882 )
...
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2023-02-23 17:19:05 +00:00
3c0d94292c
Add Introspective Search ( #3887 )
2023-02-19 21:50:59 +02:00
541f490d1e
Valid BST: refactoring + added unit test ( #3883 )
...
Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>
2023-02-17 11:43:17 +00:00
d565edc69a
Added recursive&iterative preorder binary tree traversal ( #3884 )
...
Added recursive& iterative preorder binary tree traversal
2023-02-17 17:04:44 +05:30
e0b1235bef
Fix ArrayIndexOutOfBoundsException in LevenshteinDistance ( #3871 )
2023-02-15 20:34:36 +00:00
69a428470c
Add Tarjans Algorithm ( #3874 )
2023-02-15 20:27:21 +00:00
a584ca248c
Refactor Level Order Traversal ( #3869 )
2023-02-14 12:33:14 +02:00
c0fec8dfe2
Add Optimal Job Scheduling ( #3868 )
2023-02-08 18:09:38 +00:00