Sir, Hats off to you 😇 You are such a great person on this planet 🌍 Your heart is bigger💕 You are a pure powerful💪 a Soul 💕💕💕 You are Knowledgeable person and you have excellent skills ,which everyone can understand by your teaching method
hi deepthi thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
Thank you sir for clear explanation and program. We expect more concepts related to data structures like stack,queue from you sir!! It would be really helpful sir.
hi Aiswarya soon i will start uploading the concepts of data structures. thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
Thank you for explaining this in simple words. Very clear. How do I repeat a character from a given string. Eg: In a given string Wow, I want to repeat 'o' based on input n. If n=5, the string should look like Wooooow. Will be really helpful
If elements are not in ascending order then we should sort in ascending then we should do binary search sir? It will be lengthy program sir?? Please reply sir
hi krishna thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
Sir ,the elements are in already in ascending order in case the elements are 90,50,78,54,34,23,87 like thus way how to search the element please suggest sir I can understand more clearly.
hi madhuri thanks for watching my sessions and The number you have mentioned are not in ascending order so if the numbers are not in sorted order then you can perform LINEAR search and if the numbers are in sorted order then you can perform BINARY search. Both the video links are available in our channel so plz go through and post your doubts in the comment section. Thank you.
to get the mid value, you have to use the floor function. floor function gives the greatest INTEGER less than or equal to the given input value. for example: floor(2.4) = 2, since 2 is the greatest integer less than 2.4 whereas if you take the ceiling function, floor(2.4) = 3 because it is the least greater integer to the given value.
hi ramakrishna thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
hi soni you are correct. thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@@devanshisoni3532 It's because the key cannot be at an index > mid when a is sorted in ascending order and key < a[mid]. Therefore, the indices from mid to high can be ignored and high updated accordingly.
Ur brilliant sir, ur life saviour in this lockdown period 🥺🥺
Sir, Hats off to you 😇
You are such a great person on this planet 🌍
Your heart is bigger💕
You are a pure powerful💪 a Soul
💕💕💕
You are Knowledgeable person and you have excellent skills ,which everyone can understand by your teaching method
I m easily understood this concept sir and topic cleared within short period of time... Thank you so much sir!!
really one of the clear and best explanation of algorithms
hi deepthi
thanks for your interest towards our channel and share my sessions with
your friends and subscribe to our channel.Keep following our channel.
😃
for the first time I ENJOYED CODING thank you :)
Very amazing explanation sir ❤😊
Thank you so much ❤❤😊
thank you sir for you to spending time on these classes we people make you proud definitely
Nice & neat example with clear picturization. Super explanation sir.....👏🏻👏🏻
Your teaching is awesome please continue,thank you.
Thank you sir for clear explanation and program. We expect more concepts related to data structures like stack,queue from you sir!! It would be really helpful sir.
hi Aiswarya
soon i will start uploading the concepts of data structures.
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
@@sundeepsaradhi please make videos on above concepts mentioned by her sir..I really liked your teaching methods
Wonderful teaching ❤️ Thank you
It's very simple to understand the the problem thanks sir you are great teacher
You are doing great job sir, superb!!!
U are great sir.If you are not there then it is very difficult to understand.Thank you sir.
You are my saviour, thankyou sir 🥺🥺
Super sir i have checked many videos but i not understood the concept but ur explanation is superb
NICE SUPER EXCELLENT MOTIVATED
Thank you Anna.. I will say tqs from bottom of my Heart..
Sir, ur super sir
Really I like your teaching and I had shared to my friends also
Excellent explanation..... Easy can understood
Excellent Teaching Skills
hi
thanks for your interest towards our channel and share my sessions with
your friends and subscribe to our channel.Keep following our channel.
U re really alife saver who are watching ur videos mid night for 2morrow exam😂
Nice video sir easy learn for c program... thank you sir
Awesome explanation, awesome speech, crystal clear
Sir I'm very comfortable with ur explanations... I'm wasting my money for College faculties 😁
Again we want to learn such type more videos
Excellent explanation 👌 sir🙏🙏
best tutorial ever...😍😊🇮🇳
I tried this code but it's not getting proper output. Logis is cleared but in while(low it should be while(low
Yes you are correct
Great teaching Sir . Thank you so much Sir.
thank u sir...........this very much helpful for me.........plz sir keep on updating new program
hi maulik
thanks for your interest towards our channel and definitely i will do that.
Very good explanation sir....ur doing a great job....
Sir 👍 perfect i easily understand
Thank you for explaining this in simple words. Very clear.
How do I repeat a character from a given string. Eg: In a given string Wow,
I want to repeat 'o' based on input n. If n=5, the string should look like Wooooow. Will be really helpful
Hi gangadhar
Is the length of string is only 3
I think it can be done using pointer
Super Guruji you made me to understand very well
thank you sir, greate explanation you saved my time , 2 hours class just in 30 minutes
Great explanation and it helped me to clear my concepts
If elements are not in ascending order then we should sort in ascending then we should do binary search sir?
It will be lengthy program sir??
Please reply sir
Yeah on that situation first we have to perform bubble sort or any sorting method after continue this same method
Great explanation sir...........I understand
Low < high
Does not work
Low
yes bro you're correct.. 50 was not found if
low
Yup
correct
Why we taken 50as key
In the last it was corrected
Thank you for your fantastic explanation .... Sir.... I will not forget you....
You have done brilliant job sir
hi krishna
thanks for your interest towards our channel and share my sessions with
your friends and subscribe to our channel.Keep following our channel.
Thank you sir ❤
sir if we have to print output as we found key at so and so position the what should be the code
Ur video r nice and easy to understand
Thank you for teaching
Thank you sir
Great way of teaching !
really helpful sir ..thank you sir
Thank u sir..U made this concept easy to understand.
Sir ,the elements are in already in ascending order in case the elements are 90,50,78,54,34,23,87 like thus way how to search the element please suggest sir I can understand more clearly.
hi madhuri thanks for watching my sessions and
The number you have mentioned are not in ascending order so if the numbers are not in sorted order then you can perform LINEAR search and if the numbers are in sorted order then you can perform BINARY search.
Both the video links are available in our channel so plz go through and post your doubts in the comment section.
Thank you.
If no are not sorted and still u want to perform binary search then arrange them in ascending order 1st. Its video is also on this channel
very nice explanation ...please make videos on data structures and java also sir!!
TQ sir u made this concept easy..
hi venu thank for your interest towards our channel. Keep following my sessions.
Excellent teaching
Sir I can't understand the mid=(low,+high)/2 is 2.5 you take mid value is 2 why sir please explain clearly
Hi
In c programming
If both numerator and denominator are integers then result will also be integer
to get the mid value, you have to use the floor function. floor function gives the greatest INTEGER less than or equal to the given input value.
for example:
floor(2.4) = 2, since 2 is the greatest integer less than 2.4
whereas if you take the ceiling function, floor(2.4) = 3 because it is the least greater integer to the given value.
Sir!! It shows key not found when input is 20..Please kindly tell me how to solve this.
Nice explanation
Sir you forget about floor function at the program time .
But still it is understandable ....liked your video 👌👍
*Float*
Sir in binary search
I f elements are not in sequence wise what we should do sir
I mean 90,45 ,35 ,40,50,65
Sir .. Why we will use flag ?? there
Sir, program is not executing properly..even when search key is found it is saying not found..can you please add executetable program in description.
No words sir 🙏🙏🙏
You explanation is really really very helpful...
🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
Thanks sir for such a good explanation
hi ramakrishna
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
thank you
great work sir🤙🤙
Sir, what is the purpose of taking the flag variable?
Thank u so much sir for better explanation
Tq sir for giving us good lecture but sir i want videos on java by your teaching..
Sir in if statement if we will not use break then what will happens
great explanation. thank you
Super sir you are easily understandable
Tq for clear explanation...sir
hello sir i have tried it out but am getting not found as the outcome what could be my mistake thxs
Hi
Send me your code to askme.selflearning@gmail.com
Sir make more videos your explanation is awesome .......
Sir can you explain how to write a simple program in function
Hlo sir bainary search is not executed sir plz tell mee
Mid variable is not declaired and the program will give key not found if the l value 50 is at 0th or 1st index position
excillent explanation sir
Really sir u are too good 😇
You are boss sir..♥♥
Great explanation sir
i do not understand why is low is greater than high,pls explain
Good explanation sir....
👍👍👍👍👍👍
Please also make videos on java
hi
thanks for your support towards our channel and soon i will do that.
Sir u r great 👍👍👍👍
Awesome explanation
Your video is very good
Thank u sir for your perfect teaching.
Which type of date type will be used for storing the mid value sir??
Sir super explain very good
Sir how to arrange these values if they were not given in a proper order?
Yeah on that situation first we have to perform bubble sort or any sorting method after continue this same method
If key
hi soni
you are correct.
thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.
Thank you sir
My question is why we store mid-1 in high?
@@devanshisoni3532 It's because the key cannot be at an index > mid when a is sorted in ascending order and key < a[mid]. Therefore, the indices from mid to high can be ignored and high updated accordingly.
without writing program an we an we write ode in exam is it help us to gain marks
Helped me a lot 🙏🙏🙏🙏
Sir, you are just awesome!
Sir,In this program how can we apply the floar function...?
Sir when can we use while loop and for loop. Can binary search be done with for loop also
sir program is not executing if ve go mid-1
suppose if u tak key as 20 then it is nt able to locate kindly explain this aspect also
hi shriya
plz send me the program so that i will check and correct it.
you can send to askme.selflearnning@gmail.com
Sundeep Saradhi Kanthety thanq sir ! I found my mistake ! And corrected it
@@shriyaverma159 can you please tell me what is the mistake that you done because I too not getting when key=20.
sir no word for your praise😘love u sir
sir when u r doing program how the high value become index 4
Thank you sir...Perfect explanation....
Sir sprrr ❤❤