24 Commits

Author SHA1 Message Date
aaa2b26ed1 Issue #4706 Solved (#4707)
Import Package into the RecursiveBinarySearchTest and RecursiveBinarySearch

Co-authored-by: PiyushPagar1 <piyus.p@ergobite.com>
2023-10-07 18:57:46 +05:30
4fab7adfaa code-clean-up (#4519)
* code-clean-up

* style: make `RabinKarpAlgorithm` a proper utility class

---------

Co-authored-by: arintripathi1 <arint@trainee.nrifintech.com>
Co-authored-by: vil02 <vil02@o2.pl>
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2023-10-03 17:32:59 +00:00
da687c11cb Added [FEATURE REQUEST] <Recursive Binary Search> #4457 (#4469)
* Create RecursiveBinarySearch.java

* Update RecursiveBinarySearch.java

* Update RecursiveBinarySearch.java

* Update RecursiveBinarySearch.java

* Update RecursiveBinarySearch.java

* Create ReverseArray.java

* Update RecursiveBinarySearch.java

* Update RecursiveBinarySearch.java

* Create RecursiveBinarySearchTest.java

* Update RecursiveBinarySearchTest.java

* Update RecursiveBinarySearchTest.java

* Delete src/main/java/com/thealgorithms/others/ReverseArray.java

* Update RecursiveBinarySearchTest.java

* Update RecursiveBinarySearchTest.java

* Create ReverseArray.java

* Delete src/main/java/com/thealgorithms/others/ReverseArray.java

* Update RecursiveBinarySearchTest.java

* Update RecursiveBinarySearch.java
2023-10-01 15:22:51 +00:00
18848574be Make DFS and BFS search algorithms generic (fixes #4229) (#4230) 2023-08-13 11:59:26 +05:30
2488a2ad51 Code cleanup (#4246) 2023-07-22 15:23:00 +00:00
415a04ea7f Add automatic linter (#4214) 2023-06-09 20:05:14 +08:00
00282efd8b style: format code (#4212)
close #4204
2023-06-09 18:52:05 +08:00
1dc388653a Refactor Code Style (#4151) 2023-04-15 11:25:54 +03:00
ad72c28d91 Remove unnecessary code (#4141) 2023-04-03 22:35:59 +08:00
6b9eb1b9c1 Add orderAgnosticBinarySearch (#3882)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2023-02-23 17:19:05 +00:00
d5f140458a Add two algorithms with matrixes (#3364) 2023-01-14 10:01:03 +00:00
8ba295b1ad Added Order Agnostic Binary Search problem in Searches folder. (#3791)
* Added Order Agnostic Binary Search problem

* Update OrderAgnosticBinSearch.java

* Added JUnit Tests and removed redundant code.

* Made minor changes in JUnit Tests

* Removed tests for main folder and added docs.

* Added OrderAgnosticBinarySearchTest.java

* Renamed file to avoid errors.

* Updated the file to avoid build error
2022-12-12 00:43:27 +05:30
9cde14095c Fix BFS (#3759) 2022-11-09 19:40:20 +00: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
e96f567bfc Format code with prettier (#3375) 2022-10-03 17:23:00 +08:00
d22420fea8 Fix off-by-one error (fixes #3248) (#3250) 2022-09-07 09:01:22 +03: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
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
66d8d51de6 Add Quick Select (#2860)
Co-authored-by: Nils Goldmann <goldman09@mi.fu-berlin.de>
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
2021-12-08 21:38:19 +02:00
e488b7b5bb Add Happy Numbers (#2839)
Co-authored-by: Louve Le Bronec <loane.le.bronec@eisti.fr>
Co-authored-by: Yang Libin <contact@yanglibin.info>
Co-authored-by: Yang Libin <szuyanglb@outlook.com>
2021-11-26 19:35:35 +02:00
9fb3364ccc Change project structure to a Maven Java project + Refactor (#2816) 2021-11-12 08:59:36 +02:00