mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +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