Love Babbar bhaiya aapke course me alag hi vibe hoti hai . Baki sabka course ek taraf aapka sabse accha vibe wala bass mai yehi kahunga ki aap iss course ko band mt kariyega jbtk khatam nahi hojata . because there are lakhs of hopes behind you !!! YOU ARE DOING GREAT WORK BHAIYA !! KEEP IT UP !!
@tarunsingh78262 жыл бұрын
This man is putting more effort than any paid course hat's off to you bhaiya🥰
@khatariinsaan5284 Жыл бұрын
Exactly 💯
@NitinRawat-n1p Жыл бұрын
@@khatariinsaan5284 that's why he is called babbar sher ( 🦁🦁)
@huzaifaoff3132 ай бұрын
@@khatariinsaan5284 not
@manishvijay67943 жыл бұрын
void insertionSort(int n, vector &arr){ // Write your code here. int i=1; while(i=0){ if(arr[j]>temp){ arr[j+1]=arr[j]; } else{ break; } j--; } i++; arr[j+1]=temp; } }
@741ibrahim22 жыл бұрын
bhai you can club them insted of break stmt while(j>=0&&arr[j]>temp) { arr[j+1]=arr[j]; j--; } arr[j+1]=temp; }
@gagannnnnn Жыл бұрын
@@741ibrahim2 why you put temp in place of arr[I] in for loop
@741ibrahim2 Жыл бұрын
@@gagannnnnn why to increase load and repeatedly going and accessing from the array instead put it in temp
@varun-qm3xj2 жыл бұрын
bhaiya one suggestion when you write code and dry run it again after submitting code please keep the dry run screen and code screen side by side and then explain it. like what values will be passing in that real time in that code. it would help us to understand more easily.
@fuasteriskk Жыл бұрын
i first watched apna college sorting of arrays.... and everything went above my head they just made things more complicated and here i understood this concept at one go thank you babbar sir
@rahulrastogi53123 жыл бұрын
Present Bhaiya. 💯....problem solving is this course's USP so bhaiya jaise binary search pdhaya problem solve krake aage bhi vahi tareeka rakhna bhaiya ji ..it helps in logic building❤️❤️💯
@morningstar42962 жыл бұрын
Raju rastogi 😂
@romimawandia4817 Жыл бұрын
Insertion sort: Insertion sort is a simple sorting algorithm that works similar to the way you sort playing cards in your hands. The array is virtually split into a sorted and an unsorted part. Values from the unsorted part are picked and placed at the correct position in the sorted part. Yes, insertion sort is a stable sorting algorithm. Insertion Sort is adaptive, that means it reduces its total number of steps if given a partially sorted list, hence it increases its efficiency. Its space complexity is less. Insertion sort requires a single additional memory space. Thank you so much for this lecture 🧡
@AashutoshSingh-xq7gy2 жыл бұрын
GOOD TO HEAR SOUND OF SANKH NAAD FROM 09:55 3 TIMES ,i'm in my first sem,I'm sitting in my PG near LPU couldn't clear jee and was declared medically unfit in nda, I miss my parents and home ,this sankh sound reminded me of my house it just refreshed my mind...Let's get back to work
@abhijeetk.14422 жыл бұрын
Me too from lpu bro!! wanna meetup and give a try to peer programming?
@hyderali15203 жыл бұрын
bhaiya aap dsa ki duniya ma bawal macha rahe ho,mera problem solving ka nazariya hi badal gaya apka wajah sa thanks alot,please course ko complete karo ,maina paid courses bhi liya tha but apka wala alag hi swag hai ,bas video lambi rakho thoda zyada problem solve karwao and roz daldo ,east or west babbar bhaiya is the best .thanks alot bhaiya.....
@srijan____tiwari209 ай бұрын
The number of example this man giving is a proof that its not just for views but us to really understand these topics .Respect ❤
@vrishabmagotra20043 жыл бұрын
Best course for learning data structures and algorithms
@anirbanchand41962 жыл бұрын
DSA was never that much fun before bhaiya 🤩. Always tried to catch the concepts but failed and gave up practicing, but now your truly awesome lectures tell me to learn more, learn everyday, a lil bit more and the satisfaction uff 🔥 it is awesome. Truly amazing 😍
@ankitdubey792 жыл бұрын
20:00 (While Loop) void insertionSort(int n, vector &arr){ // Write your code here. int i = 0; while(i=0) { if(arr[j]>temp) { arr[j+1]=arr[j]; } else { break; } j--; } arr[j+1]=temp; i++; } }
@sudipkrghosh49763 жыл бұрын
Started few days late, but today I am on this lecture. Thank You bhaiya ❤️
@JaiiSingh.3 жыл бұрын
Aapki hr videos bahut hi inspiring or knowledge se bhari hui hoti hain... 😀😀
@vinaygupta23692 жыл бұрын
Babbar Bhaiya's epic line - "yahi to hume chaiye tha" ❤️❤️
@harshmedhavi25093 жыл бұрын
Awesome lecture bhaiya! 🔥But ek help chahiye thi, jo last contest hua usme real world problem pehli baar dekhe, joki hamare standard problems se different h isliye ho nhi paye, ese case m bhaiya aage kaise approach rkhu ki improve kru! Grind nhi rukegi, but just need your guidance sir 🙏 And really learning a lot! Thank you sir
@rahulstudies11782 жыл бұрын
hn mujhe bhi ye prblm hua
@rameshmalhotra95252 жыл бұрын
kzbin.info/www/bejne/jpPEcmRjd65gsNk🙏🏻
@snehalpattebahadur81012 жыл бұрын
Awesome course 🔥🔥 specially jab aap last wala example explain karte ho , by showing how indexing of 'i' and 'j' are changing💯💯💯
@satyabratarout77613 жыл бұрын
Bhaiya thanku so much for putting such efforts into this course . Great content and explanation . I am also giving my best into it .
@Ashutoshkumar-bk9ei3 жыл бұрын
I was left behind due to semester exams, but now covering up. Thank you soo much bhaia for your priceless efforts. Sb clear ho gya ❤️
@prasadprashantb.40012 жыл бұрын
Bhiyaa ye thoda tagada laga😅😅 3 bar dekha .... Phir jake code smj aya... Dry run smjta lekin code thoda pechida laga... But still very neat and clear code🙌🙌
@shobhitshrivastav97753 жыл бұрын
The way you explain is AWESOME💯
@radhikaagarwal55023 жыл бұрын
Simply the best content and explanation 🌸
@tanupatil4263 жыл бұрын
Thank you for providing this whole DSA content for free bhaiya ❤️❤️
@shivkumar-og4ow3 жыл бұрын
Market m chha gye guru ji appp. Lallantop pdha rhe hai. Thank you so much 💓😗🥰
@amandeep-33423 жыл бұрын
Amazing series bhaiya projects ideas aur tutorials pr bhi video de dijiye resume ke liye ..
@alphadecay82542 жыл бұрын
In case you're looking for the code using WHILE LOOP- void insertionSort(int n, vector &arr){ for(int i=1;i
@amanbisht705310 ай бұрын
thanks bro
@nikhilgarg88332 жыл бұрын
maza aa raha bhai paadke.....ek cheej bahut achi aapki ki aap mindset samaj pa rahe ho ....iss topic k liye kitni problems samjake ....jab bhi mai sochta hu ki agar iss baare me ek or example mil jaaye toh ache samaj aa jaayega ...usme aap 100% extra example samja he dete ho
@RajveerSingh-zg9vd2 ай бұрын
Nobody explains better than you 😍😍
@hemantmarathe-hz1kv23 күн бұрын
explainned insertion sort in the best way , because others are using swap here but insertion sort is about shifting the elements and inserting temp in its correct position rather than swapping elements
@9852963775aaa3 жыл бұрын
Thankyou bhaiya ab insertion sort bhi clear hogaya hai ab maza aaega
@johnxina3536 Жыл бұрын
If you get any errors after running code in vs code, you can use vector instead of array, it will solve your problem
@nilayguhe19272 жыл бұрын
Thank you very much bhaiyya....watched the video 2 times to understand the concept coz it was bit confusing to me. But at the end understood it completely.😄😁😃
@suyashverma1562 жыл бұрын
love the series can see how much hard work you are putting to make content for us!
@harshjain760011 ай бұрын
The above code using while loop: void insertionsorting(vector& arr, int n){ for (int i=1;i=0){ if(arr[initial]
@himanshudhabai827511 ай бұрын
initial=j kyo likha, initial ko swap krne ke baad to already j ki value mil gyi hogi??
@sreekaran67553 жыл бұрын
Love Babbar Bhaiya Fan of your Consistency and Quality. And loved your series
Thankyou so much Bhaiyya. This Insertion Sort was Toughest Sorting for me. But seeing your Videos I understand everything. Onto the Next Video😄
@sarthak_gupta152 жыл бұрын
thora time laga bhaiya, lekin concept jaise hi dimag me ghusa, maja aagya
@techsifier45703 жыл бұрын
Bhaiya...I have a doubt...will u also make a course on development and aptitude preparation...after finishing this course ...?...by the way thanks bhaiya...was waiting for this eagerly.
@shubhamvairagade13 жыл бұрын
Hn bhai .. bhaiya bole hai but thoda late ho skta .. but krne toh wale hai
@rameshmalhotra95252 жыл бұрын
kzbin.info/www/bejne/jpPEcmRjd65gsNk🙏🏻🙏🏻
@a11yus3 жыл бұрын
Bhaiya ek schedule syllabus de doh Jishme kaun kaun se topics nxt cover kiya..till graph Thank u great support from ur side Keep it going 🙏🏻🙏🏻🙏🏻
@fnGamingz2 жыл бұрын
Bro speechless Thanks a lot, one day will be in Google and will doing podcast with you. And will tell to your viewer that, from this platform only I was supposed to crack Google. Google Soon.. Google Soon.. Google Soon.. Google Soon.. Google Soon.. Google Soon..Inshallah.
@atulkumarpandey33422 жыл бұрын
samajh aa gya bhaiya sab ekdam clear hota ja rha hai.Thanks a lot bhaiya
@mohitbishesh31612 жыл бұрын
I was waiting for that pleasant intro tune. But wo to iss video mai hai hee nii......BTW nice content bhiya.
@Dharmikmonk3 жыл бұрын
Course bohot shandaaar hai bhaiya 🔥🔥🔥🔥🔥🔥🔥
@aazamali20812 жыл бұрын
best lecture bhaiyya thanks for providing these lectures
@simransingh6137 Жыл бұрын
Thank you so much sir for this series ❤
@ayudhbhadoria8993 жыл бұрын
Sir ! Ham to apke sath end tak rhenge !😌😌!! Ache company fodenge !! Or sabse phele methae apko khelaege !! 2025 tak enterzar kar na hoga 😅!! Love your videos !!
@kamla7833 жыл бұрын
Completely Understood 🔥🔥💯💯
@codingwithsaud Жыл бұрын
bhai tusi great ho 👍👍. I did my 3rd semester 10 days ago and didn't know anything about C++. I found your course and it made me think like a professional. Thank you bhai Jan.
@chandanprogrammer3 жыл бұрын
Present bhaiya 🎯 Thora late ho gya tha aaj video dekhne me 🎯 baki sb achcha se smgh me aa rha hai bs... abhi question ho nhi pa rha hai baki apne trf se pura time de rha hu question bnane me ...
@rajgopalsahu Жыл бұрын
Insertion Sort using while loop : //InsertionSort Function void InsertionSort(int arr[],int size){ for(int i=1;itemp && j>=0){ arr[j+1]=arr[j]; j--; } arr[j+1]=temp; } }
@shreyansh_yadav3 жыл бұрын
Bhot gjjb bhaiya... Consistency 🔥🔥
@RudranshSharma3 жыл бұрын
Bhaiya abhi end sem chal rahe hai, 28 ko khatam honge toh tab dekhunga. Aap chinta mat karo, bas video banate raho. I'm loving this course
@PiyushBansal-qg1vk Жыл бұрын
Selection sort- In every round, smallest no. takes its position bubble sort- In every round, largest no. takes its position insertion sort - smallest no. takes the position with minimal no. of comparisions
@shashinibhat89893 жыл бұрын
Presenttt....bht acche se padha rhe bhaiya❤
@Arshad_mirza0075 ай бұрын
7:22 that pissed off faced after repeating single statement twice "To maine starting" is hilarious😄 Thanks for such a great content, Love you Babbar Bhai❤
@jagmohanrai2714 Жыл бұрын
Done bhaiya insertions sort we do shifting in this that's why it's stable sorting algo .
@ishanchandrakar23533 жыл бұрын
Bhaiya abhi end sem hai isiliye nii dekh paa raha hu... End sem khatam hote hi pakka pura dekhunga.... Thankyou very much for this DSA series
@AbhaySRajput073 жыл бұрын
bhaiya this is the best course i have ever seen thanks a lot bhaiya ji
@cartoonverse6869 Жыл бұрын
bhaiya soye nhi nind mai lag rahe h thankyou bhaiya
@fgh4272 жыл бұрын
Samajh gya bhaiyya barriya tarikke se... heading to lecture 19...
@utkarshsrivastava50032 жыл бұрын
please explain example 6 5 4 3 2 1 how arr[j+1] will be equal to temp in last step
@vikramdhoke68093 жыл бұрын
Hands on chal rahe hai bhaiya but dekhunga jaroor ye video
@R_S_R_3893 жыл бұрын
I Have been waiting since Yseterday....Dhanyawad bhaiya..
@bishalchatterjee7452 жыл бұрын
These videos are gonna have miliions of views one day ..!!
@surajitroy26242 жыл бұрын
best video bhaiya bht acche se samjhaye aap❤️
@saurabhpatle87442 жыл бұрын
One of the finest explanation !!
@rishikumar-uf7tu5 ай бұрын
22:33 crucial //aditya adhana rank 106//
@presidenttalks8 Жыл бұрын
Bubble sort - Swapping Insertion sort - Shifting
@ShwetaSrivastava-rd8ff8 ай бұрын
Such an easy explanation Thanks a lot sir..❤
@hennamakay80912 жыл бұрын
So I am in my 6th sem end. And I have to take a placement in 3 months and sir your videos are best/easy resource for me to go on. I have to complete this whole cource in 2 month and then do some project work and take placement insaallah. Completed 18 lecture in 9 days:)
@subscribeinsteadlike27682 жыл бұрын
InshaAllah Bro, but upcoming videos are gonna take more time so you need to put 2x effort and also think something abt project also
@tusharpiyush37882 жыл бұрын
first 18 should have been done under 5 days btw
@ariondas74152 жыл бұрын
All the best !!
@jayprajapati86192 жыл бұрын
This is awsome I have wonder every where but i can't understand but this video is op !!!
@aman-nf5qj2 жыл бұрын
Thank u bhaiya sach m bhot asaan bna Diya apne ye👍👍
@thecash.youtube Жыл бұрын
Hatsss off to you man!! Amazing 🔥🔥🔥🔥🔥
@mdshadab34702 жыл бұрын
Last waala explanation tabahi tha mazaa aa gaya 😅😅
@HassanAbbas-wy7wj3 ай бұрын
hats off was i was confused alot about insertion sort
@hi-techgadgets66533 жыл бұрын
You are making the dsa looks so easy
@shubhamtarkar383 жыл бұрын
Awesome series , pls upload daily instead of alternate days❤️🐯
@apoorvasunkad66863 жыл бұрын
Present Bhaiya.✋. I'm excited to start the video ❤️😀
@Sachin-ge3lv3 жыл бұрын
Bhaiya Dsa ab easy lag ra hai pdhne mai. I completed my 18 lecture 😘
@paras_chauhan_03 Жыл бұрын
bhaiya last me code ke tarike wala dry run bahut badiya tha
@shibaprasadmishra82073 жыл бұрын
Bhaiya company me jo question ate hain wo kaha se pata chalega.. Aur placements me questions kese pucha jata hai uske ware me ek video hota to achha hota.. Baki to bhaiya he hi placement karwane keliye😍🥳..karwake hi chorenge.😇
@hirithik2 жыл бұрын
#PYTHON_CODE for i in range(n-1): for j in range(i+1,0,-1): if(arr[ j ] < arr[ j-1]: arr[ j ] , arr[ j-1 ] = arr[ j-1 ] , arr[ j ] else: break
@kritmanrao9 ай бұрын
thank you brother for wonderfull explanation❤❤❤❤❤❤❤❤
@shivamjha01266 ай бұрын
Thanks Bhaiya It's clear about insertion sort
@abhishekrawat6642 жыл бұрын
Kya samjhate ho bhai yarr🙌
@souravdubey45783 жыл бұрын
Bhayiya abhi end sem ki prep. Kr rha hu , pichli videos ki practice bhi krni hai ,+attendence shortage ki wjh se clg bhi regular jana pd rha hai , so abhi time nhi mil paa rha video dekhne ka But aap videos daalte rho , mein baad me in dekh loonga