Floor and Ceiling in a sorted array | GeeksforGeeks

  Рет қаралды 21,234

GeeksforGeeks

GeeksforGeeks

8 жыл бұрын

Explanation for the article: www.geeksforgeeks.org/search-f...
This video is contributed by Harshit Jain.
Read More: www.geeksforgeeks.org/ceiling...

Пікірлер: 7
@hermesmercuriustrismegistu4841
@hermesmercuriustrismegistu4841 4 жыл бұрын
Thx a lot for this awesome video! I love Geeks for Geeks videos and love the website! Another good job! Another good video!
@yaseerahmed8478
@yaseerahmed8478 3 жыл бұрын
What is low and high here?? Is that the index or array element??
@mohammadmujahid8850
@mohammadmujahid8850 5 жыл бұрын
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; } ?
@kaushik.aryan04
@kaushik.aryan04 2 жыл бұрын
time complexity
@malharjajoo7393
@malharjajoo7393 6 жыл бұрын
This is not the simplest implementation.
@prakharagarwal4933
@prakharagarwal4933 4 жыл бұрын
then whats the simplest implementation??
Find minimum difference between any two elements | GeeksforGeeks
8:02
The Man Who Revolutionized Computer Science With Math
7:50
Quanta Magazine
Рет қаралды 2,8 МЛН
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 25 МЛН
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 17 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 28 МЛН
Implement two stacks in an array | GeeksforGeeks
7:46
GeeksforGeeks
Рет қаралды 51 М.
Pythagorean Triplet in an array | GeeksforGeeks
11:04
GeeksforGeeks
Рет қаралды 33 М.
ROTATION of an array (REVERSAL Algorithm)
7:52
Vivekanand Khyade - Algorithm Every Day
Рет қаралды 51 М.
[Discrete Mathematics] Floor and Ceiling Examples
5:00
TrevTutor
Рет қаралды 173 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 779 М.
Find the Maximum Element in a Stack in O(1)
7:51
Programming Tutorials
Рет қаралды 16 М.
Count minimum steps to get the given desired array | GeeksforGeeks
8:43
Move all zeroes to end of array | GeeksforGeeks
6:23
GeeksforGeeks
Рет қаралды 45 М.
Find the Number Occurring Odd Number of Times | GeeksforGeeks
6:28
GeeksforGeeks
Рет қаралды 46 М.
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 25 МЛН