Explanation for the article: www.geeksforgeeks.org/search-f... This video is contributed by Harshit Jain. Read More: www.geeksforgeeks.org/ceiling...
Пікірлер: 7
@hermesmercuriustrismegistu48414 жыл бұрын
Thx a lot for this awesome video! I love Geeks for Geeks videos and love the website! Another good job! Another good video!
@yaseerahmed84783 жыл бұрын
What is low and high here?? Is that the index or array element??
@mohammadmujahid88505 жыл бұрын
Why linear serach is so complicated why not just: private static int ceilOfArr(int[] givenArr, int x) { for (int i = 0; i < givenArr.length; i++) { if (givenArr[i] >= x) return givenArr[i]; } return -1; } ?