bb2fff0cbb
Add package name ( #5007 )
2024-01-08 15:41:14 +02:00
1dc64b1685
Update BinarySearch ( #4747 )
2023-10-12 23:13:32 +03:00
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
f72b80b116
rewrote as parameterized tests ( #4458 )
...
* rewrote as parameterized tests
* formatting issue resolved
* added test with different prime number q
* style: run `clang-format`
* tests: add missing test case
---------
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com>
2023-10-01 18:05:27 +02: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
f010a47608
chore: enforce InsertNewlineAtEOF
in clang-format
( #4343 )
...
* style: insert newline at eof
* style: use `InsertNewlineAtEOF` in `clang-format`
* fix: use `clang-format-16`
* chore: update clang-format-lint-action to v0.16.2
---------
Co-authored-by: Debasish Biswas <debasishbsws.dev@gmail.com>
2023-09-01 04:10:46 +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
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
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
0a5ee18079
Add tests for HowManyTimesRotated ( #3669 )
2022-10-26 10:16:02 +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
e96f567bfc
Format code with prettier ( #3375 )
2022-10-03 17:23:00 +08:00
6cfb628487
Add Binary Search in 2D Array ( #3240 )
2022-09-03 09:31:55 +03: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