mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-26 22:14:08 +08:00
style: enable HideUtilityClassConstructor
in checkstyle (#5147)
This commit is contained in:
@ -8,7 +8,9 @@ if it is smaller than the target, the rows above that element are ignored (becau
|
||||
above it will also be smaller than the target), else that element is greater than the target, then
|
||||
the rows below it are ignored.
|
||||
*/
|
||||
public class BinarySearch2dArray {
|
||||
public final class BinarySearch2dArray {
|
||||
private BinarySearch2dArray() {
|
||||
}
|
||||
|
||||
static int[] BinarySearch(int[][] arr, int target) {
|
||||
int rowCount = arr.length, colCount = arr[0].length;
|
||||
|
Reference in New Issue
Block a user