Linear search vs Binary search
HTML-код
- Опубликовано: 14 май 2019
- This video explains the 3 basic and the most important differences between the linear search and binary search along with the differences in the way they handle their work and the time complexity of these algorithms. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
🟣 JOIN our 𝐋𝐈𝐕𝐄 𝐢𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰 𝐭𝐫𝐚𝐢𝐧𝐢𝐧𝐠 𝐩𝐫𝐨𝐠𝐫𝐚𝐦 through whatsapp query: +91 8918633037
🔴 𝐂𝐡𝐞𝐜𝐤𝐨𝐮𝐭 𝐚𝐥𝐥 𝐨𝐮𝐫 𝐂𝐨𝐮𝐫𝐬𝐞𝐬: techdose.co.in/
I love Indian teachers the way they teach computing is far better than any other country, thanks for this video, I clearly understood the difference.
wait til u find out about egyptian teachers
My university professor wrote a fucked up article about this , this video helped me a lot , thanks man !!!
Welcome :)
I cant be the only one who is searching for indian teachers since they always explain everything faster and simpler which makes understanding the problems we have way easier, so yeah sir really thank you for this video, you have helped me greatly, I wish my teachers were half as good as you at explaining stuff
Welcome :)
First tym listened to such a simple explanatory English acsent
Thanks 😅
@@techdose4u This is an awesome lecture
at first i was just listening while going through the comment i get to know youa re correct .he explained so well in english that i didn't realise that he is teaching in english it look like he was teaching in hindi as it was very easy to understand
Best explanation of linear and binary search I found at youtube.
Thanks
Thank you short and simple 👍👍
you have a deep voice which suits a teacher and short and simple video thankyou man
Atleast call him sir..Whts thankyou man?
Thank you sir it's very helpful to me
Thanks for your explanation
Thank you very much
beautifully explained
Thank you!
To the point thanks
Thanks so much sir ! Btw in which platform you demonstrated? Google classroom ?
Thank you
thank u .
Short and simple 👌👌👌👌
like how everything should be
@@lukmanalghdamsi3189 perfectly balanced
Thank you so much ☺️
Welcome
Thank bro
Sir hats off 🫡
can you please let me know which software for writing the content
Wacom pro inkspace comes with Wacom pro
Good teaching simple dimple
Thanks 😊
Thank you :)
Welcome :)
How does 5 / 2 become 2, do you round up or round down. Also why would you still refer to indices 3 and 5 when the left array has been discarded already?
HE SAID 5/2 IS 2 ATER REMOVING FRACTIONAL PART IF YOU WRITE 5/2 YOU WILL GET 2WHOLE 1/2 SO BY REMOVING THAT 1/2 WHICH IS FRACTIONAL YOU GET 2
@@MACVXACEso its basically lowering- or rounding up to the lower value
@@655bebeusgdbeueb4jdu yup that's what I mean but 2.5 will be round of and be 2
What do you mean by equal for number 4?
I'm slow learner tf
What is the space complexity (worst case) of binary search
?
ever heard of chat gpt?
Awesome
Thanks 😊
C++ program in Turbo vs Visual Studio and also compare it to make a video also mention me
Sir I have doubt sir you explained that binary search is lower index + upper index / 2 but in this explanation you take value of the lower index can you explain please am not got it
Lower index was 0 so 0+5= 5 then he divide by 2 if lower index was 1 maybe then he would Divide 6 by 2
However in other parts he add lower+upper
Thats bcz the number ate in integer , when we divide a number in coding lang it gives value in lower rounding off unless specified some other way
So easy
Average Case Time Complexity of Binary Search: O(logN)
Correct
brorther are you do this Americian people only english boy
binary samajh main nahi aya
Ap exam coming up
.
his voice is kindaaaa................hot?
English sudharo sir
Thank you!
You're welcome!
Thank you
Welcome :)