mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-21 19:14:55 +08:00
Refactor Code Style (#4151)
This commit is contained in:
@ -13,7 +13,7 @@ package com.thealgorithms.searches;
|
||||
|
||||
public class OrderAgnosticBinarySearch {
|
||||
|
||||
static int BinSearchAlgo(int arr[], int start, int end, int target) {
|
||||
static int BinSearchAlgo(int[] arr, int start, int end, int target) {
|
||||
|
||||
// Checking whether the given array is ascending order
|
||||
boolean AscOrd = arr[start] < arr[end];
|
||||
|
Reference in New Issue
Block a user