Skip to content

Commit 08aaa5e

Browse files
authored
Update SearchInInfiniteSortedArray.java
1 parent 7b29020 commit 08aaa5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GeeksForGeeks/SearchInInfiniteSortedArray.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ static int ans(int nums[],int target){
2020
return infiniteArray(nums,target,start,end);
2121
}
2222
//once we find the start and end of the range by above function we can apply normal binary search and find the position of given element;
23-
//if the target element is not there in the array the funcion will return -1;
23+
//if the target element is not there in the array the funcion will return -1;
2424
static int infiniteArray(int nums[],int target,int start ,int end){
2525

2626

0 commit comments

Comments
 (0)