Best video ever could be on Binary Search !!!! Thanks a lot :)
@michaelwood229210 жыл бұрын
Thanks for the videos. I appreciate your time and knowledge....
@jigarkapadiya11986 жыл бұрын
logic at 8:58 how thorough he is with the algorithm...ONLY HE EXPLAINED WHY WE DO THIS
@MrKaprson11 жыл бұрын
really nice... I´m kinda angry, because your alhorythm works really nicely, and contains less than 10 lines . My conained over fifty and still didn´t work :D ... But now it does. Truth is that sometimes you need to return not only one index, but a list of it, for there can be more than one possition with the given value. Keep up please, your vids are really educative and entertaining :)
@brunomello63057 жыл бұрын
I believe that binary search only considers the two possible questions: Is the element in the array? and if it is, what is the index of the first ocurrency of it?
@sourav27266 жыл бұрын
One of the best channel.and sir the way you teach is just awesome
@moturulaxman32342 жыл бұрын
Nice explanation,after watching this video I have the full idea of binary search, thank you so much
@sourabhmazumdar26107 жыл бұрын
GREAT VIDEO ON BINARY SEARCH SIR.
@pranavganorkar237910 жыл бұрын
Excellent Series on Binary Search.....
@krishanudutta29433 жыл бұрын
Excellent Explanation sir thanks a lot...
@the3idiots7873 жыл бұрын
the last point is very benificial.
@4w0ken10 жыл бұрын
dude i love u srsly.
@jobayerrifad5448 жыл бұрын
u are a life saver!!
@Kashif_Javaid11 жыл бұрын
very nice, keep it up, hope you can touch on circular buffer
@095_shaniabalkhi93 жыл бұрын
Awesome tutorial!
@arthur68928 жыл бұрын
You are the best.
@narayankhatri68128 жыл бұрын
Great tutorial... Thanks and hope more videos .... related
@neverforget25562 жыл бұрын
What I want to return multiple results that have the same variable? In iterative binary search
@DanielSColao4 жыл бұрын
Great video!
@sanketwalunj65804 жыл бұрын
Which compiler is he using ?
@crazy97803 жыл бұрын
After watching the video I realized that you don't need to put {} in if statement with one execution
@TheHarsh23188 жыл бұрын
Will this work when 2 duplicate elements are stored in an array?
@bhavyadesai65284 жыл бұрын
Yes it will work, but it will return only the index of the first occurrence of that element in the array, as the main motive of binary search is to check whether an element is present in a given array or not... And if present, then at which index.
@TheHarsh23184 жыл бұрын
@@bhavyadesai6528 I asked this question 3 years ago.. funny.. you replied now😂😂
@Nikhil-qi4oz2 жыл бұрын
@@TheHarsh2318 and I saw now, so funny
@adarshkotali8 жыл бұрын
please add indexed sequential search
@bcaignou46477 жыл бұрын
i tried to compile online but it shows $gcc -o main *.c $main Enter a number the number 0 is not present in the array
@Alohamora0079 жыл бұрын
Dude what's your name , i know codeschool , would like to know the dude behind this screen
@sunnyraj22898 жыл бұрын
Animesh Nayan
@ravisinha13103 жыл бұрын
@@sunnyraj2289 its so sad that this channel ended after tragic death of lord harshal
@dominicanotacools16618 жыл бұрын
Can I have the java file? I'm just a student.
@anshumansingh97617 жыл бұрын
I'd suggest you try to implement it on your own first :) You can obviously get the implementation from GeeksforGeeks.org afterwards.
@tanaynarshana40567 жыл бұрын
couldn't we just do (low/2+high/2) instead of low + (high-low)/2 ?
@parasmahajan77417 жыл бұрын
(3/2 + 7/2) would give (1+3)=4. 3+ (7-3)/2 would give 5. So this would give wrong result when both low and high are odd.