Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌
Thank you so much 😀 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
Thank you so much buddy, I am glad to hear this from you. Please do share the videos with your friends & Definitely SUBSCRIBE. Thats the biggest help & support 😇✌
Suppose your 'left' and 'right' are 16 bit unsigned integers. That means, they can only have a maximum value of 2^16=65536. Consider this, left = 65530 right = 65531 If we added them first, (left+right) would end up being junk since that big a number (131061) cannot be stored in a your 16-bit integer. And so, mid would be a wrong value.
Thank you so much buddy🙏 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
I will try my best to share your videos Sir keep on the good work, i definitely would have given you 1 k likes if possible 😍😍 thank u soo much for your other video.
Thank you so much brother. These words itself mean so much to me. Your support is the biggest motivation my Ayush 😇 Keep sharing the channel with your friends. There are 400+ videos on our channel so do check them out ✌️
In the last case uh said when we pass 115 as x left will become greater than right but how it will become greater thn right we just pssed a false value tht is not in the array.... Plz telll
@@SimpleSnippets you started at 19.50 at last One thing i want to say You are too much amazing, and your videos are more understandable than other Thanku a lot
PLIS HELP :( mid =(left + right)/2.... for the first one mid = ( 0 + 9)/2 = 4(int) why did you complicated it typing " mid = left + ( right - left)/2 " ? AM I MISSING ANYTHING?? CAN I USE mid = (left + right)/2???
Sir you are explaning 💪 awesome but why you not tried to do videos in unacademy sir, actually I'm searching a videos on sorting and searching in unacademy it's there but these particular information is not given please do the videos in unacademy also
Thank you mahesh for the compliments. And yes I did see how unacademy works, I found it very restrictive when it comes to making videos only using their mobile app. I like it to be flexible cause I shoot my videos on various devices 😇 Also please do share this video with your friends buddy 😁
Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌
I will suggest your channel to others from now on becoz i found it very helpful more than others with good explanation nd examples
Fan of your lecture 🖤
it was truely amazing .... thanks for this amazing video lecture
U will definetely earn a lot , love ur videos.
Thank you so much 😀 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
hey simple snippets
u r more then anything
ur videos always eliminate confusion
thnkksss alot
Thank you so much buddy, I am glad to hear this from you. Please do share the videos with your friends & Definitely SUBSCRIBE. Thats the biggest help & support 😇✌
This lecture was amazing
Top to Bottom samajh Aya❤️
Also the way he gives every code❤️
Tanmay Bhai boss
bhai is this playlist good for college exams?
Bro, What's the significance of mid = left+(right-left)/2, Why not just ( left+right)/2
Suppose your 'left' and 'right' are 16 bit unsigned integers. That means, they can only have a maximum value of 2^16=65536. Consider this, left = 65530 right = 65531
If we added them first, (left+right) would end up being junk since that big a number (131061) cannot be stored in a your 16-bit integer. And so, mid would be a wrong value.
@@h_s_4049 Thanks mate!
You made this so simple to understand. Many thanks sir!
why we don' t use mid=(left+right)/2 at place of mid=left+(right-left)/2
AWESOME explanation... as usual
Thank you so much buddy🙏 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
Super se bhi upper
hey simple snnipet ur videos are amazingly gud .Thanks for providing such a great source.
Hi, Tanmay Sakpal I believe you are doing great! anyway, Binary Search is made the simplest of the simple.
Thanks a ton Vijay
Thanks for explaining
I will try my best to share your videos
Sir keep on the good work, i definitely would have given you 1 k likes if possible 😍😍 thank u soo much for your other video.
Thank you so much brother. These words itself mean so much to me. Your support is the biggest motivation my Ayush 😇
Keep sharing the channel with your friends. There are 400+ videos on our channel so do check them out ✌️
高質量的視頻內容!我還有一個問題:有人給我轉了点usdt,我有恢復短語。【pride】-【pole】-【obtain】-【together】-【second】-【when】-【future】-【mask】-【review】-【nature】-【potato】-【bulb】 我怎麼把它們變現呢?
Thank you Sir ❤💌
Sir Which textbook are you using?
In the last case uh said when we pass 115 as x left will become greater than right but how it will become greater thn right we just pssed a false value tht is not in the array....
Plz telll
I didnt really get your question. Can you please pin point the timecode where I said that. ✌
@@SimpleSnippets you started at 19.50 at last
One thing i want to say
You are too much amazing, and your videos are more understandable than other
Thanku a lot
Yes dude I saw this vdo right now... Nd I had same doubt...
Great work bhaiya this is best channel. bhaiya can you please make a video on Dynamic Programming?
This will take time but eventually I'll cover it🤘
amazing
Thanks
Thank u 💓💗💖💛
Why loop , u can go directly to the index of mid each time and find that index value to match
lovely
Thanks!!👍👍
Most welcome 🤟please do share the video with your friends too ✌️
20:37 Sir,how will the result if you change return -1 to return 0?
he litterly said if it's 0 or other than that it i'll placed in the array as the index 0 because you said return 0;
PLIS HELP :(
mid =(left + right)/2.... for the first one mid = ( 0 + 9)/2 = 4(int)
why did you complicated it typing " mid = left + ( right - left)/2 " ? AM I MISSING ANYTHING?? CAN I USE mid = (left + right)/2???
plz make a video on Fibonacci search
Mid = (left + right) is also currect
🤷🏻♂️
If we hv to find 95 then.. Or -5 then what will be the logic
Sir you are explaning 💪 awesome but why you not tried to do videos in unacademy sir, actually I'm searching a videos on sorting and searching in unacademy it's there but these particular information is not given please do the videos in unacademy also
Thank you mahesh for the compliments. And yes I did see how unacademy works, I found it very restrictive when it comes to making videos only using their mobile app. I like it to be flexible cause I shoot my videos on various devices 😇
Also please do share this video with your friends buddy 😁
❤
why cant the mid be mid=(left+right)/2............???
@@SimpleSnippets i did , but got the same thing from both .
did you get it ?
I think both are same
Do the math. It's the same.
What if there is an element in more than 1 place?let's say it's repeating.!
Then there has to be extra code to take care of that scenario which will make this complicated