codingmydna
712ada5102
Correct column pointer initialization in RowColumnWiseSorted2dArrayBinarySearch ( #6333 )
2025-07-02 12:51:56 +00:00
Pau López Núñez
0b21bb0a38
Add Boyer-Moore string search algorithm with JUnit tests ( #6274 )
2025-06-11 15:37:42 +00:00
Hakim's Garage
e6073f8fef
Add math builder ( #6190 )
2025-03-12 18:35:21 +02:00
Piotr Idzik
8886e0996a
style: include OCP_OVERLY_CONCRETE_PARAMETER ( #5833 )
2024-10-14 23:46:28 +03:00
Hardik Pawar
b81671e66d
Add tests, remove main in LowerBound ( #5672 )
2024-10-12 10:04:54 +03:00
Hardik Pawar
0ca4398188
feat: Add RandomSearch new algorithm with Junit tests ( #5701 )
2024-10-11 16:58:34 +03:00
Hardik Pawar
b1aeac5cd6
Add tests, remove main in UpperBound ( #5679 )
2024-10-10 20:36:06 +00:00
Hardik Pawar
4ec2701302
Add tests, remove main in TernarySearch ( #5677 )
2024-10-10 20:32:32 +00:00
Hardik Pawar
6802029251
Add tests, remove main in LinearSearchThread ( #5671 )
2024-10-10 23:29:20 +03:00
Hardik Pawar
29ad197a64
Add tests, remove main in SaddlebackSearch ( #5674 )
2024-10-10 23:24:52 +03:00
Hardik Pawar
e8b32513c8
Add tests, remove main in MonteCarloTreeSearch ( #5673 )
2024-10-10 23:20:39 +03:00
Hardik Pawar
b1724fa737
Add tests, remove main in LinearSearch ( #5670 )
2024-10-10 23:12:07 +03:00
Hardik Pawar
401d87365e
Add tests, remove main in UnionFind ( #5678 )
2024-10-10 23:07:02 +03:00
Hardik Pawar
fb11d455dd
Add tests in SearchInARowAndColWiseSortedMatrix ( #5675 )
2024-10-10 23:02:13 +03:00
Hardik Pawar
a663e66782
Add tests, remove main in SquareRootBinarySearch ( #5676 )
2024-10-10 22:57:40 +03:00
Hardik Pawar
38285771c8
Add tests, remove main in JumpSearch ( #5669 )
2024-10-10 22:51:06 +03:00
Hardik Pawar
f992fc425d
Add tests, remove main in IterativeTernarySearch ( #5668 )
2024-10-10 22:45:26 +03:00
Hardik Pawar
0a7065df38
Add tests, remove main in IterativeBinarySearch ( #5667 )
2024-10-10 22:41:07 +03:00
Hardik Pawar
ba3d3bf54e
Add tests, remove main, improve docs in InterpolationSearch ( #5666 )
2024-10-10 22:36:38 +03:00
Hardik Pawar
d197fc7df2
Add tests, remove main, improve docs in ExponentialSearch ( #5664 )
2024-10-10 22:30:37 +03:00
Hardik Pawar
a4e4319126
Add tests, remove main, improve docs in FibonacciSearch ( #5665 )
2024-10-10 22:26:16 +03:00
Hardik Pawar
ca5fbbf0a9
Add tests, remove main in BinarySearch ( #5663 )
2024-10-10 22:22:42 +03:00
Prayas Kumar
90d20b3a43
Add smoothing constant to IDF formula in BM25 to prevent negative scores ( #5696 )
...
Co-authored-by: prayas7102 <prayas.prithvirajpratap7@example.com >
Co-authored-by: Alex Klymenko <alexanderklmn@gmail.com >
2024-10-10 10:39:22 +03:00
Prayas Kumar
732f7c8458
Add BM25 Inverted Index Search Algorithm ( #5615 )
2024-10-07 20:30:46 +03:00
Piotr Idzik
26b4b82949
style: include OI_OPTIONAL_ISSUES_USES_IMMEDIATE_EXECUTION ( #5274 )
2024-07-03 19:55:09 +03:00
StarDxxx
a81fb32e6c
style: enable TypeName ( #5214 )
...
* style: enable `TypeName` in checkstyle
* style: enable `TypeName` in checkstyle
* Update directory
* style: use proper formatting
---------
Co-authored-by: StarDxxx <StarDxxx@users.noreply.github.com >
Co-authored-by: Piotr Idzik <65706193+vil02@users.noreply.github.com >
2024-06-08 13:37:20 +02:00
Godwill Christopher
295e7436b1
style: enable MethodName in CheckStyle ( #5182 )
...
enabled: MethodName in CheckStyle
2024-05-27 09:06:06 +02:00
Piotr Idzik
414835db11
style: enable AvoidStarImport in checkstyle ( #5141 )
2024-05-05 20:48:56 +02:00
Nishant Jain
bb2fff0cbb
Add package name ( #5007 )
2024-01-08 15:41:14 +02:00
D.Sunil
1dc64b1685
Update BinarySearch ( #4747 )
2023-10-12 23:13:32 +03:00
Piyush Pagar
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
Arin
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
Arin
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
Pronay Debnath
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
Piotr Idzik
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
Snir Turgeman
18848574be
Make DFS and BFS search algorithms generic ( fixes #4229 ) ( #4230 )
2023-08-13 11:59:26 +05:30
HManiac74
2488a2ad51
Code cleanup ( #4246 )
2023-07-22 15:23:00 +00:00
acbin
415a04ea7f
Add automatic linter ( #4214 )
2023-06-09 20:05:14 +08:00
acbin
00282efd8b
style: format code ( #4212 )
...
close #4204
2023-06-09 18:52:05 +08:00
Saurabh Rahate
1dc388653a
Refactor Code Style ( #4151 )
2023-04-15 11:25:54 +03:00
Isak Einberg
be13981e94
Add tests for 2D array binary search ( #3892 )
2023-02-23 18:49:24 +00:00
HumbleFool
6b9eb1b9c1
Add orderAgnosticBinarySearch ( #3882 )
...
Co-authored-by: Andrii Siriak <siryaka@gmail.com >
2023-02-23 17:19:05 +00:00
sadiul-hakim☪️
d5f140458a
Add two algorithms with matrixes ( #3364 )
2023-01-14 10:01:03 +00:00
Nishanth Chandra
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
Arya Sen
9cde14095c
Fix BFS ( #3759 )
2022-11-09 19:40:20 +00:00
Harshal
0a5ee18079
Add tests for HowManyTimesRotated ( #3669 )
2022-10-26 10:16:02 +03:00
Aitor Fidalgo Sánchez
03a4832a7d
Add an interface for matrix search algorithms ( closes #3461 ) ( #3464 )
2022-10-09 14:45:36 +03:00
Shashwat Gupta
cce1dbd124
Add algorithm to search for an element in 2D array ( #3306 )
2022-10-09 12:23:36 +03:00
acbin
e96f567bfc
Format code with prettier ( #3375 )
2022-10-03 17:23:00 +08:00
Shashwat Gupta
6cfb628487
Add Binary Search in 2D Array ( #3240 )
2022-09-03 09:31:55 +03:00