style: enable HideUtilityClassConstructor in checkstyle (#5147)

This commit is contained in:
Piotr Idzik
2024-05-08 08:58:29 +02:00
committed by GitHub
parent 030bb91d05
commit d3bb691f59
285 changed files with 895 additions and 339 deletions

View File

@ -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;