Binary Search Algorithm - Theory + Code

preview_player
Показать описание
This is the first video of a 2 part series on binary search. Here we discuss theory of the algorithm, compare it with linear search, derive the complexity, implement the code and cover order-agnostic binary search as well.

Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!

👉 Resources

=========================================
Timestamps:
0:00 Introduction
0:57 #DSAwithKunal
2:35 What is Binary Search?
7:20 Binary Search Algorithm
21:10 Why Binary Search?
29:21 Code for Binary Search
41:48 Order-Agnostic Binary Search
49:00 Code for Order-Agnostic Binary Search
57:42 Outro

#searching #placement #dsa #interviews
Рекомендации по теме
Комментарии
Автор

As software engineer here in Seattle, I could tell you all this dude has an amazing content.
On my free time, instead of wasting my time on social media watching videos that don’t provide any value to me, I spend my whole time watching kunal as I am preparing to switch to MAANG this year.
Thanks a lot

gabrielfono
Автор

That's what I expected!
I already know binary search but knew that I will definitely learn something new from every video of this playlist. And guess what, I learned the improved version of binary search formula (start + (end - start) /2 ) !
Thanks a lot Kunal ❤😄

mohitbalwani
Автор

Bro it took me 2 years to start your course. The entire playlist has been saved since you uploaded all the 60+ videos as a playlist. But since last 2 weeks I have been watching them relentlessly and the amount of confidence I have gained in my coding skills has drastically improved. Big thanks to you my man.
And I really crack up when you crack a joke in between the lecture.

May God Bless you Kunal just like you have blessed us all.

I am a QA Engineer btw

piyushrawat
Автор

This guy is on another level in terms of teaching method. You don't know kunal how much you are helping people learn these complex things in the easiest way possible. Thanks a lot. You deserve the world kunal.

ShOcKwvEGaming
Автор

"Binary Search made easy by kunal"
The Next Aditya Verma!!!
Almost everyone would ignore the debugging part, start+(end-start)/2, logN when they do teach Binary Search.However you stand apart from em!

gaishiya
Автор

I turned off my adblocker, only to reward you for this amazing explanation kunal. Keep up the good work mate. Do share your payment details, I would love to help you. Thanks once again. ♥♥

SoloScholar
Автор

Brother, I earnestly respect you & your hardwork that you're doing for us without any personal gains...Kudos to you bro😊💓👏

swayam
Автор

mid = start +(end -start)/2 blew away the problem I was facing in passing huge arrays.
Then came order-agnostic that compares start and end element to decide whether ascending or descending array🤯
Thanks Kunal, I'm enjoying this course🚀

gilfoyle
Автор

Although I got to know about Ur channel just yesterday, But I wanna tell ki U r doing great man. Some people cannot ingest the fact that someone junior to him is also doing these things and getting that much audience. Its just hurting there ego, Nothing else.

jashanbansal
Автор

# GOD Of DSA
Hi I am a 11yr exp java guy was searching for some free course on youtube for DSA came accross your course and i just feel love in it...all in one place that too with java...i must say you have done very awsome work...your name will be there on this earth as long as DSA will be asked in interviews...May Supream Lord Vishnu Bless You.. ✌🙏

shubhamagarwal
Автор

His continues efforts inspires us to do the same, literally!!!

payalsingh
Автор

Hey Kunal !! This is the best course which I found in youtube and Now I started loving data structures your way of explaining each concept is outstanding. You are doing a great job. I have recommended this course to all my friends. Thanks alot for making such amazing videos.

rashirasoi
Автор

How Kunal make course- "complete dsa course"
How Ed tech mafia make courses -
Dsa for beginners
Dsa intermediate level
Dsa advance level
Dsa for FAANG
Dsa with c++
Dsa with Java
Dsa with python
Dsa in real life .
Dsa in 100 days.
Inshort it's their business to keep making courses otherwise what they will do if they make a single course.
Hope u r getting their strategy for non ending course making business.

aadeshsharma
Автор

I'm actually short of words to praise this. I just wish that as a student i justify your hardwork . All the very best to you. Keep radiating goodness.

BG-ljfw
Автор

Had my teacher explained the same way, I would have enjoyed Java.
Switched to Python. Now back to Java because of this course.
I'm enjoying java because of you.
Thanks a lot

joshjoshi
Автор

I am completely shocked by the quality content that you provide Man!!!! Definitely going to share it with all my friends ..Thanks for providing it for free .Its much more than any paid course on any platform.

anushka
Автор

I absolutely love how thorough you are in your explanations. This is the difference between you and also my professors from university. Most of the time they just give a very simple explanation without covering some details that are ESSENTIAL for understanding even the most basic algorithms. Thank you very much for helping me, I cannot wait to watch this entire playlist!

imlearninghelppls
Автор

I am having 2 year exp in a good product company [not fang], still I am learning from your playlist everyday, and preparing for switch, thanks brother .

SAYAK
Автор

02/03/2024 - day 7 of learning DSA+JAVA

Mahak_Jainn
Автор

This course will surely make me understand DSA in 2024👌

lucifercoxi