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 ✌
@Lalinxdboom Жыл бұрын
I will suggest your channel to others from now on becoz i found it very helpful more than others with good explanation nd examples
@romaisasehrish2624 жыл бұрын
hey simple snippets u r more then anything ur videos always eliminate confusion thnkksss alot
@SimpleSnippets4 жыл бұрын
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 😇✌
@nafisahmed36073 жыл бұрын
Top to Bottom samajh Aya❤️ Also the way he gives every code❤️ Tanmay Bhai boss
@closetoheart61202 жыл бұрын
bhai is this playlist good for college exams?
@shahghanikhan43282 жыл бұрын
it was truely amazing .... thanks for this amazing video lecture
@jollyllb91594 жыл бұрын
U will definetely earn a lot , love ur videos.
@SimpleSnippets4 жыл бұрын
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 😇
@shahinphatan48652 жыл бұрын
Fan of your lecture 🖤
@avvii12 жыл бұрын
You made this so simple to understand. Many thanks sir!
@vijaysinghchauhan70794 жыл бұрын
Hi, Tanmay Sakpal I believe you are doing great! anyway, Binary Search is made the simplest of the simple.
@SimpleSnippets4 жыл бұрын
Thanks a ton Vijay
@ayushagarwal80545 жыл бұрын
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.
@SimpleSnippets5 жыл бұрын
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 ✌️
@prekshamishra99214 жыл бұрын
hey simple snnipet ur videos are amazingly gud .Thanks for providing such a great source.
@mjprayog4 жыл бұрын
Bro, What's the significance of mid = left+(right-left)/2, Why not just ( left+right)/2
@h_s_40493 жыл бұрын
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.
@tahahuraibb58332 жыл бұрын
@@h_s_4049 Thanks mate!
@mahjabinbintemannan89243 жыл бұрын
This lecture was amazing
@kanharajput54433 жыл бұрын
why we don' t use mid=(left+right)/2 at place of mid=left+(right-left)/2
@nitismita10352 жыл бұрын
Thank you Sir ❤💌
@sriramadithya47993 жыл бұрын
Thanks
@parthkeskar83543 жыл бұрын
Thanks for explaining
@dibbyabarua94994 жыл бұрын
AWESOME explanation... as usual
@SimpleSnippets4 жыл бұрын
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 😇
@nitismita10352 жыл бұрын
Thank u 💓💗💖💛
@mohdarish41953 жыл бұрын
Super se bhi upper
@mdtausifahmed62052 жыл бұрын
amazing
@abhijeetbasfore68163 жыл бұрын
Great work bhaiya this is best channel. bhaiya can you please make a video on Dynamic Programming?
@SimpleSnippets3 жыл бұрын
This will take time but eventually I'll cover it🤘
@masumali83562 ай бұрын
lovely
@HoneySinha0012 жыл бұрын
Why loop , u can go directly to the index of mid each time and find that index value to match
@nidhinhari83975 жыл бұрын
Sir Which textbook are you using?
@venkateshprasads83613 жыл бұрын
plz make a video on Fibonacci search
@sureshyedge37385 жыл бұрын
Thanks!!👍👍
@SimpleSnippets5 жыл бұрын
Most welcome 🤟please do share the video with your friends too ✌️
@dishanamdev26204 жыл бұрын
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
@SimpleSnippets4 жыл бұрын
I didnt really get your question. Can you please pin point the timecode where I said that. ✌
@dishanamdev26204 жыл бұрын
@@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
@gauripawar3564 жыл бұрын
Yes dude I saw this vdo right now... Nd I had same doubt...
@expert7711 ай бұрын
❤
@nochannel21033 жыл бұрын
Mid = (left + right) is also currect 🤷🏻♂️
@mahesh-jg3zx5 жыл бұрын
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
@SimpleSnippets5 жыл бұрын
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 😁
@adiflorense14774 жыл бұрын
20:37 Sir,how will the result if you change return -1 to return 0?
@katieplayz60793 жыл бұрын
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;
@slimysnail60713 жыл бұрын
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???
@dolibelel21134 жыл бұрын
If we hv to find 95 then.. Or -5 then what will be the logic
@sakshisengar77094 жыл бұрын
why cant the mid be mid=(left+right)/2............???
@ar3568row4 жыл бұрын
@@SimpleSnippets i did , but got the same thing from both .
@ar3568row4 жыл бұрын
did you get it ?
@ChandrapalSd4 жыл бұрын
I think both are same
@shirsharay4 жыл бұрын
Do the math. It's the same.
@mallipallianusha70204 жыл бұрын
What if there is an element in more than 1 place?let's say it's repeating.!
@SimpleSnippets4 жыл бұрын
Then there has to be extra code to take care of that scenario which will make this complicated