I found this is the best video in youtube for binary seach.......thank u so much sir....please sir make the complete data structure playlist for interview preparation
Sir youtube pe dekhe to sab samajme aata lekin college me padai to kuch bhi samajme nai aata,college me sir 3 to 4 times explain kare phir bhi samajme nahi aaya par ab aaya thanks 😊
if n is even then let's assume its 10 then low = 0, high = 9 and mid = (0+9)/2 i.e. mid = 4 "This is because integer datatype takes floor value so 4.5 becomes 4" similarly 0.5 will be 0 and so on. here is a simple code so you can experiment: int low=0,mid,high=9; mid = (low+high)/2; printf("%d",mid);
Sir... Thank you very much for explaining.... What is the use of while loop?? And If consider 11 elements in an array..Then mid value will be 5.5....so in those cases what will be the mid value sir??? Please reply sir... Thanks in advance..
The way he leaves gap and explains everything at last is wonderful
Yeah
dont hype him !!
This is one of the best explanations of binary search I have found. SMASHED THE LIKE BUTTON.
The dislike button may be for our college professors who was explain all these years and not even a student could not understand the concept 😑🤭🤭🤭🤭
He is the best teacher!
Ch srinvas right
What a confidence and accuracy in your teaching!! Awesome sir..
Sir ur the best one i saw till now to explain c programming
Thanku for this wonderful teaching
I never saw this kind of wonderful teaching in my life .
Give this man a award...🏆
You are perfect trainer glad to have you in TH-cam trainers like you
If you want to learn C programming...I assure you to follow him..Best Teacher ever!!!
Best Ever Explanation Of Binary Search
Ur teaching experience is was so good and im happy to say its a mindblowing lecrure
The way you explained the program is superb sirrr.....
Sir u r just awesome . A super teacher ever in programming.you are just great for ever.
Sir your way of explanation is amazing!
What a great way of teaching.
Keep up the great work sir!!!!
May God bless you sir, You are the best of all......
Thanks so much sir.
THE BEST TH-cam LECTURES TO LEARN C PROGRAM
Sir you are one of the best teacher 🙌
OMG such a great explanation
you teach in an exceptional way sir...Thanks a lot
You are the best sir because you teach every sentences that's very nice and we are understanding very good
Thank you sir, your explanation was fabulous!!
The way of teaching is just amazing
I found this is the best video in youtube for binary seach.......thank u so much sir....please sir make the complete data structure playlist for interview preparation
Just by listening to your explanation I'm able to code a very nice explanation sir.
Sir... Sir anthe... Super ga explain chesaru sir
Clear cut explanation and wonderful teaching.
Thanks sir.
Sir are you from Telugu.
you are a great teacher....today you saved me...thank u sir
you are absolutely a savior !!!
Sir u r best one that explaining c programming we r understanding very neatly thank u
What a Fantastic Explaination 🔥✨
Eloquent,Succinct, simply a beautiful explanation ❤️
amazing as always :) thank you so much sir and Naresh i Technologies to provide such great mentor :)
Sir youtube pe dekhe to sab samajme aata lekin college me padai to kuch bhi samajme nai aata,college me sir 3 to 4 times explain kare phir bhi samajme nahi aaya par ab aaya thanks 😊
Your way of teachings is super sir
Sir really awesome😍😍😍😍 i understood easy
tq so much 😭😭😭😭👍❤️💫
sir your explanation is insane
simply AMAZING!
Thankyou very much sir for explaining clearly you are helping lot of students
This one best explanation in binary search
The great University of TH-cam never fails
Thank you sir 😊 you explanation is always simple and helpful
Thank you sir, for nice explanation.
Sir apne bahut acha samjhaya
sir, your elplains is awesome .👌👌
watched the full video with 1.25x speed .....sir you are awesome.......thank you sir....
Best explanation sir
Thank you so much:)
Thanks sir
Sirrrr your teaching is very superrrrrt sirrrr
😘👌 Super logic .....#OP👌✌
very nice explaination sir
Teaching way is fabulous!!
Awesome sir I finally got understood 🔥❤️❤️
Crazy teaching ❤
Sir ur explanation is too amazing.thank u sir
Sir great explanation can't we take only (n) instead of (n-1) in all programs why n-1 is compulsory Pls help
Because array index starts with 0 and not with 1 if you start your array at position 1 then you can use n as your high :)
Sir ur really great teacher
Good explanation sir
tq.. sir for your wonder full explanation...
Sir mee valle exam pass ayya sir tq
You're the best srini 🌞
you are a great teacher
None can teach like u !!!
Brilliantly explained!!
👏very well explained👌
Just what I was looking for
i love you man, you are the best
Clear explanation
Thank u sir
Awsome teaching sir
Very simple and clear
sir, what if n value is equal to a even number
if n is even then
let's assume its 10
then low = 0, high = 9
and mid = (0+9)/2
i.e. mid = 4
"This is because integer datatype takes floor value so 4.5 becomes 4"
similarly 0.5 will be 0 and so on.
here is a simple code so you can experiment:
int low=0,mid,high=9;
mid = (low+high)/2;
printf("%d",mid);
@@ruinfirefly2088 thanks.
@@SoldierBoy69420 happy to help!
@@ruinfirefly2088 thanks bro, are you a software engineer? 🤐🤐🤐
@@Thecannibalfrombeyond Nah, I'm a 3rd year B.Tech Student. I wish that I become a good software engineer one day.
Great explanation sir... Thank u so much..
Thank you ❤❤
Wonderful explanation!
Super sir Ji
Thank...you
Sir 👍🏿
👍👍thank you sir!!!
Very good explanation sir
fentastic teaching
Good teaching skills
Nice explanation sir thanku
Wonderful 😊
Sir you are great
If mid value is 6.5.should I round it to 6 or 7.. Please reply sir. I took the key value as 78.
6
Sir... Thank you very much for explaining.... What is the use of while loop?? And If consider 11 elements in an array..Then mid value will be 5.5....so in those cases what will be the mid value sir??? Please reply sir... Thanks in advance..
You should round it off to 6. Take the lower integer value.
@@Swarna_Nekkanti take 5 as mid
Did u got the result
Thank you sir👍
Love you videos
u are genius sir
You are the best
What should we do if the high is an odd number where should the mid should be placed
LEGEND!!!!!!!!!!!!!!!!!!!!!!!!!!!!
great explaination
Sir, pls make a vedio on matrix multiplication program
That was a clear explanation!
@@aakashravte759 yes...how u know!?
@@aakashravte759 u are magician right?...then y did u choose computer science
@@aakashravte759 Abbe dekh kr pta chl rha hai programming ke video dekh rhi hai toh computer engineer hogi hi naa🤣🤣😂😂
@@aakashravte759 bhai Ku ? Kya Mila ye krke😐
Sir, Does your code works, if my key is 1st element or the last element
Sir,what if we get mid value in decimal
Sir upload video for quick sort also
nice explanation. keep it up
superb sir.....
Super Sir, tq
Sir, what will be the mid value if the upper value is 9
0+9/2 is 4.5 then what is the mid value...please help
Take 4.dont take into account the digits after the decimal point