Lecture 22: Binary Search with Theory and Code

  Рет қаралды 60,075

Coder Army

Coder Army

Күн бұрын

Пікірлер: 298
@CoderArmy9
@CoderArmy9 Жыл бұрын
Binary Search halwa hai yrr.....
@harshkumar7686
@harshkumar7686 Жыл бұрын
Code morning bhaiya
@vishalpratapsingh6994
@vishalpratapsingh6994 Жыл бұрын
Good morning bhaiya..
@sslofi7480
@sslofi7480 Жыл бұрын
Good morning bhaiya
@Janmeshsharma-mw7fi
@Janmeshsharma-mw7fi Жыл бұрын
Bhaiya after watching your video now i have confidence that i can learn recursion and all other topics very easily by your videos and doing practice on them . your teaching style is very good.
@daily-motivaion
@daily-motivaion Жыл бұрын
Aaapne bana diya bhaiya
@vinaypatil8009
@vinaypatil8009 Жыл бұрын
Bhai saab sir nee normal level institute or classes ke buisness industry koo destroyed krr dala 😂 🤣 Sir is legend God bless you ☺️
@actualsatan2420
@actualsatan2420 Жыл бұрын
Sach bata raha hu inte basic se koi Nahin padhata, once again thanks Bhaiya.
@Tejaswi-xd4re
@Tejaswi-xd4re Жыл бұрын
I guess from next week onwards let's do a revision sessions on weekends in which u make us solve more questions related to a topic already taught..pls consider..pls reply sir
@anilbillupati
@anilbillupati Жыл бұрын
I learnt the java and completed arrays and sorting and searching topics as well but following the course because your teaching was great and makes me learn so many things .thanks bhiyya for your hardwork
@newglobal2056
@newglobal2056 Жыл бұрын
Ajj bohot kuch shikneko mila , day 30/180 completed ❤❤ #180daysofcode
@yashubisen7131
@yashubisen7131 Жыл бұрын
Thank u so much bhaiya , aapne sorting padaya or kal ek coding competition ke liye test hua college me do question the ek sorting of array se maximum element vala , or ek pattern printing ka * # ** ## ' ' 'Aise 4 tak vala and maine dono question kar liye & i am selected for next round thanks bhaiya its only because of u ❤❤❤
@JagdishSharma-fc1nt
@JagdishSharma-fc1nt Жыл бұрын
Bhiya ek baat to kahni padegi aap concept ko pura clear karwate ho thank yo bhiya 💯👍❤❤
@Aryan-wl7mc
@Aryan-wl7mc Жыл бұрын
Talent without hardwork is nothing~CR7 🔥
@CoderArmy9
@CoderArmy9 Жыл бұрын
True
@tbmsahil8850
@tbmsahil8850 4 ай бұрын
But some are God gifted like messi
@Aryan-wl7mc
@Aryan-wl7mc 4 ай бұрын
@@tbmsahil8850 lmao why would god gift talent to messi not to ronaldo has some personal grudge against him😂.. Bhai internet pe jo log bolte hai itna suna matt kar aur agar sun rha hai toh appni cognitive abilities ka use kara kar.. The difference is Ronaldo shows his hardwork to public meanwhile messi don't so people assume messi is talented and Ronaldo isn't.... Both are extremely talented and hardworking koi bhagwaan ki dein nahi hai
@K-lz3wu
@K-lz3wu 3 ай бұрын
​@@Aryan-wl7mche will not understand because his life revolves around social media, his own understanding is low.
@K-lz3wu
@K-lz3wu 3 ай бұрын
​@@Aryan-wl7mcthis same mindset destroyed his career.
@prathmesh_Bidve
@prathmesh_Bidve Жыл бұрын
Home Work solution:- int BinarySearch(int arr[], int n, int key) { int start = 0; int end = n - 1; int mid = start+(end-start) / 2; while (start
@-ECE-RaviShankar
@-ECE-RaviShankar Жыл бұрын
I have started from here and i loved it.....
@animeshkumarsingh4291
@animeshkumarsingh4291 Жыл бұрын
#180DaysofCode Day -30 Lecture -22 Successfully Completed ✅✅✅
@savvykhushi5143
@savvykhushi5143 Жыл бұрын
Thank you so much bhaiya 🙏🙏🙏🥰🥰 Please never stop this series 🙏🥰🥰
@SunnyKadian1
@SunnyKadian1 Жыл бұрын
Difficult concept explained in an easy way 🥰🥰🥰🥰🥰 Thanku bro ❤️❤️ Love from haryana ❤
@narutodihargo
@narutodihargo Жыл бұрын
00:00=Introduction, 04:00= Rule-01 = Array is sorted, 06:40= Find mid element , 07:30= Mid element example, 12:08= Code implementation, 21:27= Example -02 , --27:40--= Element is not present, --41:18--= Time Complexity- Best Case , 42:40= Code part ,
@himadriroy7980
@himadriroy7980 7 ай бұрын
Bhaiya aapko dher sara pyar. Aap bohot accha padhate ho. Thank you itna accha content free main dene k liye
@Aniruddha_Mukherjee
@Aniruddha_Mukherjee Жыл бұрын
Pura chamka Diya apne bhaiya..❤
@Shauryousee
@Shauryousee 5 ай бұрын
another BANGER of a lecture sir learnt a lot especially from all those analogies you provide are just fire❤ have completed the HW tooo moving on to the next lecture DIL SE THANKS BHAIYA!!!❤
@34asifmhaldar
@34asifmhaldar Жыл бұрын
Maja aa gaya aaj bhaiya❤aur consistency bhi maintain ho rahi hai meri, heartly thank you so much bhaiya❤❤
@sumitvishwakarma1075
@sumitvishwakarma1075 Жыл бұрын
Waiting eagerly to learn OOPS and concept of classes from you bhaiya 😀
@12krishna_creator
@12krishna_creator 10 ай бұрын
chamak gai binary search!❤❤❤❤❤❤Bhaiya.
@rhitam_biswas
@rhitam_biswas 5 ай бұрын
August 3 : Revision Day 3 Binary Search Done ✅✅✅
@yashisrivastava6196
@yashisrivastava6196 Жыл бұрын
Best explanation of time complexity
@amanallrounder2092
@amanallrounder2092 Жыл бұрын
mai toh kahi aur se java with DSA course mein Insertion sort padh raha tha but samajh mein nahi aaya to i came on youtube and direct searched your name and study now my dought is clear Thanks
@rhitam_biswas
@rhitam_biswas 6 ай бұрын
24 June Day 3 of learning DSA Very nice explanation ❤😊
@mehedihasannnnn
@mehedihasannnnn Жыл бұрын
Sir avi raat 3.06 am pe video dekha hei.. consistency bacha rakha vaiya...❤
@adarshjaiswal3163
@adarshjaiswal3163 10 ай бұрын
Briliant lecture bhaiya. Thank you for your kind efforts❤❤
@Armoured_Traveller
@Armoured_Traveller Жыл бұрын
Binary search🎉🎉 complete ✅
@aritrakhatua1482
@aritrakhatua1482 Жыл бұрын
00:00=Introduction, 04:00- Rule-01 = Array is sorted, 07:30= Example-02, 12:20=Logical thinking,
@deveshkoirala8461
@deveshkoirala8461 4 ай бұрын
awesome lecture maza aa gya sirji 👌
@ayushtripathi4490
@ayushtripathi4490 Жыл бұрын
thankyou bhaiya aap bahut acche se samjjhate hai sab samajh me aa jata hai❤
@ankushladani496
@ankushladani496 Жыл бұрын
Done Bhaiya... 30/180 ✅
@anuragjaiswal9779
@anuragjaiswal9779 Жыл бұрын
Bhaiya aap bohot achha padate ho or aap or bhi lambi video banaya Karo taki variety of questions ho sake
@abhishekjaiswal9580
@abhishekjaiswal9580 3 ай бұрын
you are right bro 🤗🤗🤗🤗🤗🤗🤗
@abytespaceneeded
@abytespaceneeded Жыл бұрын
Day 30 Completed ✅✅💝💝💥💥
@rahulsrivastava7765
@rahulsrivastava7765 9 ай бұрын
Lecture-22 Completed🔥🔥
@AlkeshDhaka
@AlkeshDhaka 2 ай бұрын
Completed at day 12 thank you sir 😊
@Collegeboy789
@Collegeboy789 6 ай бұрын
bhaiya aap bahut accha padhate ho really...i will learn all dsa from u...
@pranjalikeshari-c6f
@pranjalikeshari-c6f 3 ай бұрын
bhaiya kya samajaya hai aap ne maja aa gaya 👌👌
@Shino-y4l
@Shino-y4l 6 ай бұрын
Day 30/180 completed.😊 Consistency on peak.
@akashkewat1219
@akashkewat1219 Жыл бұрын
Day 30 completed 👌💯
@ajitrai9317
@ajitrai9317 Жыл бұрын
bhaiya top notch content ek baar mai chamak gya
@Mishra_ritesh
@Mishra_ritesh Жыл бұрын
Bahut badhiya padhaya bhaiya ❤❤
@-BCS-VarshaVaishnav
@-BCS-VarshaVaishnav Жыл бұрын
30/180 done thanku so much bhaiya🙃
@SurajPal-uy6nz
@SurajPal-uy6nz 5 ай бұрын
bahut badhiya se chamka bhaiya 🥺❤‍🔥
@dipakmali9817
@dipakmali9817 Жыл бұрын
Day -30 ✅ 30/180 Milestone 1 Completed; 5 more Repetation Of 30 Days Needed To achive Our Goal 🔥 #180DaysofCode
@mantuyt-vz8tb
@mantuyt-vz8tb Жыл бұрын
he he 😁 Ye bhi samajh aa gya🤗 धन्यवाद rohit sir🫡
@universalmeditationmusic9299
@universalmeditationmusic9299 Жыл бұрын
best video on youtube💯💯
@Dream.iit_2024_4feb
@Dream.iit_2024_4feb 3 ай бұрын
maaza aa gya ❤❤
@tusharsingh7927
@tusharsingh7927 11 ай бұрын
Completed binary search ✅
@BawiEdits
@BawiEdits Жыл бұрын
Hello, love the way you teach looking forward to see videos like these.
@VishalKumar-bm2oo
@VishalKumar-bm2oo 11 ай бұрын
Love coding details explain everything
@123kajalarya
@123kajalarya 2 ай бұрын
Love you sir ❤❤❤
@DeepakVerma-mb4ww
@DeepakVerma-mb4ww Жыл бұрын
Maja aa gya sir 😊😊
@nikhilsangale9969
@nikhilsangale9969 5 ай бұрын
The GOAT series
@kaustubh6612
@kaustubh6612 Жыл бұрын
you made it really easy, thanks a lot sir. This is really helpful.
@Viivekray
@Viivekray Жыл бұрын
Day 22 Completed ✅
@ThisIsTheWay-n5s
@ThisIsTheWay-n5s Жыл бұрын
Ans of second question class Solution { public: int searchInsert(vector& arr, int m) { int n=arr.size(); int start=0,end=n-1,mid; while(start
@abiralaminn
@abiralaminn 11 ай бұрын
Love from Bangladesh. Love you broooooooooo. You are a fireeee.
@abdxlive
@abdxlive 6 ай бұрын
25 June Thanks Sir ✨
@anshikathakur3567
@anshikathakur3567 10 ай бұрын
lecture 22✅
@vijaybhadadebillionaire8944
@vijaybhadadebillionaire8944 Жыл бұрын
today is very important topic cover thanks sir
@powercircuitacademy
@powercircuitacademy Жыл бұрын
Amazing series bhaiya ❤
@samander2934
@samander2934 Жыл бұрын
Thankyou sir ❤
@silentghostgaming9950
@silentghostgaming9950 11 ай бұрын
Thank you sir
@OnlyPc-c9n
@OnlyPc-c9n 10 ай бұрын
bhaiya me binary seach code thoda modify kiya hue isase kya mujhe kuch fayada hogaya agar array ka size n ho kyu ke jab aap jab long wala array explain kar rahe thea tab end wala 11 ko point kar raha tha useke baad bhi humko 2 se 3 bar loop chalana pada yaha raha code int binary_search(int arr[], int size, int key) { int start = 0; int end = size - 1; int flag = 0; while (end >= start) { int mid = start + (end - start) / 2; if (arr[mid] == key) { flag = 1; break; } else if (arr[mid] < key) { start = mid + 1; if (arr[start] == key) { flag = 1; break; } } else { end = mid - 1; if (arr[end] == key) { flag = 1; break; } } } return flag; }
@CloudOpsAIPro
@CloudOpsAIPro Жыл бұрын
Awesome ❤❤
@Himanshu_85-e2i
@Himanshu_85-e2i Жыл бұрын
public class BinarySearch{ static int binarySearch(int [] arr,int key){ int n = arr.length; int start = 0,end = n-1,mid=0; while(start
@_hulk748
@_hulk748 Жыл бұрын
great video sir💖✨🙇‍♂🙏
@nownow1025
@nownow1025 Жыл бұрын
H.W ans: #include using namespace std; int main() { int start=0; int end=4; int mid=2; int arr[5]={30,28,20,16,4}; while (start
@pratapkumar7249
@pratapkumar7249 11 ай бұрын
bhiya aapne aapne bahut aasani se samjhaya maja aa gaya
@shree_275
@shree_275 10 ай бұрын
code implementation in above video of binary search #include using namespace std; int Binarysearch(int arr[], int n, int key) { int start = 0, end = n - 1, mid; while (start n; cout > arr[i]; } cout > key; cout
@ananyapandey7387
@ananyapandey7387 6 ай бұрын
Very good and helpful courses
@prthmsh2930
@prthmsh2930 Жыл бұрын
Excellent Video Bhaiya
@notavailable6169
@notavailable6169 Жыл бұрын
Binary search ✅
@tanishqdixit6313
@tanishqdixit6313 Жыл бұрын
Day 30/180 completed
@Dhiraj20014
@Dhiraj20014 Жыл бұрын
Complete 💯❤
@GOATSOFFOOTBALL
@GOATSOFFOOTBALL 8 ай бұрын
34:00 T.C 52:00 problem arised
@ankushladani496
@ankushladani496 Жыл бұрын
Thanks Bhaiya...❤🎉
@GopalKumar-xu3iw
@GopalKumar-xu3iw Жыл бұрын
Day 30 done ✅✅✅✅✅✅✅✅✅✅
@heetpatel3037
@heetpatel3037 10 ай бұрын
Chamka bhaiya chamka 👍🏻
@nigamrajput4340
@nigamrajput4340 Жыл бұрын
King Rohit bhai ❤
@kyrmotivation9924
@kyrmotivation9924 5 ай бұрын
Such a wonderful session Bhaiya...i will recommend all my friends to study DSA from u...(Lekin 4 saal ke baad ...😂😂 Iykyk).
@Educate-Advise-Zone
@Educate-Advise-Zone 5 ай бұрын
😏
@arpitkhandelwal8280
@arpitkhandelwal8280 6 ай бұрын
Day -30 / Done and Dusted !!
@tofpgaming666
@tofpgaming666 Жыл бұрын
please reply , binary search mai nested loop lagake sort karna hoga fir ye divide and search , linear search mai sirf ak loop mai kaam ho jayega fir vi binary search best kyu hai
@LuckyVerma-cz4dl
@LuckyVerma-cz4dl 10 ай бұрын
Great session sir🤩
@algoXcode
@algoXcode 8 ай бұрын
Thanks Bhaiyya
@coder4214
@coder4214 Жыл бұрын
I am in second year from computer science branch right now from lower than tier 3 college and campus placements are very negligible, I am preparing dsa from you, so should I completely focus on off campus placement and prepare dsa and development or should I parallely prepare for gate for psu? I don't want to graduate unexmployed
@amanallrounder2092
@amanallrounder2092 Жыл бұрын
thanks bhaiya this was awesome lecture you put maximum effort in this 180 days challenge ❣
@11thboycoder
@11thboycoder 9 ай бұрын
Bhaiya is the best tutor in KZbin 🫡🫡
@harshyadav1214
@harshyadav1214 10 ай бұрын
Thank you. nice explanation.
@PM-1903
@PM-1903 3 ай бұрын
I have done my work
@Sumit-e5x2m
@Sumit-e5x2m 8 ай бұрын
Thank you bhaiya ❤
@fahadraza7152
@fahadraza7152 6 ай бұрын
Excellent
@factforfact3190
@factforfact3190 Жыл бұрын
Thank you bhaiya app bhut ache se samjh kr sikhte h
@CoderArmy9
@CoderArmy9 Жыл бұрын
I hope Binary search achee se samjh aayega
@lyricalboy9281
@lyricalboy9281 Жыл бұрын
Bhaiya ab ek baar agr ho sake toh ek long merathan kara do jisme sare topic ka revision ho jaye jitna bhi padha abhi tak😅
@dancewithme2005
@dancewithme2005 Жыл бұрын
Day 30 Completed #180daysofcode 💪
@NoorulAbdeenSiddiqui
@NoorulAbdeenSiddiqui 10 ай бұрын
You are the best
@Armoured_Traveller
@Armoured_Traveller Жыл бұрын
Lec 22 ✅🎉🎉🎉
@souravsanyal7154
@souravsanyal7154 10 ай бұрын
h.w question 1) #include using namespace std; int binarySearch(int arr[], int n, int key) { int start = 0, end = n - 1, mid; while (start arr[i]; } int key; cout > key; int result = binarySearch(arr, n, key); if (result != -1) cout
@abdulprince5480
@abdulprince5480 6 ай бұрын
bhaiya khusi mil gyi
Binary Search Algorithm - Theory + Code
58:16
Kunal Kushwaha
Рет қаралды 589 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Winning Google Kickstart Round A 2020 + Facecam
17:10
William Lin (tmwilliamlin168)
Рет қаралды 10 МЛН
LeetCode was HARD until I Learned these 15 Patterns
13:00
Ashish Pratap Singh
Рет қаралды 702 М.
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 982 М.
Lecture 18: Time and Space Complexity From Zero To Advance
1:21:04
Coder Army
Рет қаралды 119 М.