I'm a year 2 student studying CS in Hong Kong. I'm currently enrolled in my Data Structure course and we are in Week 2 now. My uni course hasn't been amazing because professors never put enough effort into teaching. I have been following your DSA Playlist since the beginning of August. The past month has been extraordinarily amazing and I'd say I owe you one for explaining "EVERY" tiny detail of JAVA which is the primary focus of Year 2 and explaining why EVERYTHING happens, which is extremely crucial. I will absolutely rely on your playlist for this semester for my DS Course. Really appreciate this hard work. Keep it up, brother!
@jaspreetsodhi Жыл бұрын
Same here in canada haha..
@princenagar1686 Жыл бұрын
Meanwhile in India these things are covered in 1st year two times, unofficially in 1st semester and officially in 2nd semester.
@dab6923 Жыл бұрын
@@princenagar1686 hi fellow iiitbhian 👍
@princenagar1686 Жыл бұрын
@@dab6923 hi, what's your name??
@Nameiscantsay7 ай бұрын
@princenagar1686 which college bro ?????
@StoryGicRohit3 жыл бұрын
Whenever Kunal says, Why we are doing it? The answer that rings in my mind is ... We will cover it in Object-Oriented Programming. :) Great Work Kunal Love your energy
@archieavien16232 жыл бұрын
😂😂
@ChiranjeeviGaming20035 ай бұрын
😂😂😂😂
@bibhoreagarwal5379Ай бұрын
😂😂😂
@Rishabhsharma-ou4dl3 жыл бұрын
I saw many videos on KZbin and I am currently enrolled in a paid course but no one explains bubble shot Algorithm as detailed you explained to us and for the first time I heard about Stable and Unstable Sorting Algorithm type till now I never experienced that kind of detailed explanation so thank you so much for doing such a great thing for the community. #bhaiyon_Mein_bhaiya_Kunal_bhaiya
@KunalKushwaha3 жыл бұрын
Thank You!
@30sunique782 жыл бұрын
@@KunalKushwaha such a amazing Explanation
@daniel.s1621 Жыл бұрын
True, to a 100%
@PanditAyushparashari9 ай бұрын
@@KunalKushwaha hey sir what to do if there is a number more than once time, if tried it short the whole array but at the end it didn't fix number which is more than one time I use an array {2,3,5,6,8,7,9,6} and it give me result {2,3,5,6,7,8,9,6} how to fix that
@Coding-Mind Жыл бұрын
This is my first comment of my life, it's because of you. I really really appreciate your effort to deep dive in every topic. This is the best lecture on Bubble sort. A huge respect for you.
@Scorpio64662 жыл бұрын
I had done 3 java courses and I still didn't get a lot of stuff. I thought I was quite dumb and not fit for it. But this course suddenly made a lot of things clear. I have been stuck in the same company for almost 3 years and now I think I'll be able to apply for jobs with confidence. Hats off to you for doing the unthinkable. I'll recommend everyone to go blindly for this course whether you're a noob or a pro.
@arnabdan86923 жыл бұрын
I had also not scored well enough in 10th and 12th and also failed in JEE twice, I had lost all confidence untill I saw Kunal doing this great community work. I have now regained my confidence and will work hard along with your guidance and hope to do great in future. We are with you brother. #DSAwithKunal.
@rakeshpotnuru3 жыл бұрын
kunal*
@obamaengineer48063 жыл бұрын
Nahi hoga Tera
@newbieguy25092 жыл бұрын
@@obamaengineer4806 America ja bhai
@Kunaltwts Жыл бұрын
@@obamaengineer4806 tu koun hota kahne wala ki Tera nhi hoga
@AnuragSingh-yf5pv Жыл бұрын
@@Kunaltwtschutiya hai bro chor😂
@abhisekhkumarjha42103 жыл бұрын
BEFORE I USED TO HAVE A FEAR OF DSA TERM ONLY BUT NOW AFTER KUNAL STARTED TEACHING I FEEL IT MORE SIMPLER..THANK YOU
@srushtipatil92973 жыл бұрын
I did study this algorithm in college but at that time I didn't get why we were doing what we were doing and now thanks to Kunal I get it and suddenly everything makes sense, Thank you!!❤️
@siddharthsid1540 Жыл бұрын
why did he write swapped=false after for loop ?
@laxminarayanakoyyana1753 Жыл бұрын
@@siddharthsid1540 it is just for checking if any swaps are occurring in the previous iteration , if there are no swaps ,then there is no point to go to next iteration and do this process again , instead of that we will terminate the process by checking this condition.
@Content_creater_entertainment6 ай бұрын
Believe me this is the best dsa playlist ever
@AmitGupta-zj4gq2 жыл бұрын
This man deserve the highest award for his Nobel work... Thanks a lot Kunal...
@mohank9065 Жыл бұрын
its actually midnight 3.00 am here..im going through your DSA courses here...but i never felt asleep for a single second ...you are an ammazing mentor 🤩🤩🤩🤩 ....and the way you describe it was crystal clear ....Thank you so much bro 😇😇😇
@lostt34352 жыл бұрын
Very detailed video, in tears because got every bit of the video. nobody explained it this good. Keep doing the great work, Kunal.
@singhamita9 ай бұрын
Free Quality Education at its best . Thank you Kunal for putting such a complex topic in very simplified manner . This channel is gonna break some records in time to come!!! God bless you with everything today and always !!!
@varshneytiwari2175 Жыл бұрын
for the first time i understood bubble sort,i dont thin i will ever forget it now ....thanks kunal bhaiya
@dimplechauhan91183 ай бұрын
completed and going ahead with full excitement.
@antimattersavage1427Ай бұрын
This particular course in KZbin is the best content if one is targeting DSA problems and interview preparation. Great job, Kunal. Proud that this content is from Indian ❤
@amanverma51312 жыл бұрын
Amazing video man! never ever algorithms seemed this interesting to me. You know how DSA is taught in unis and this is way better than that. I mean absolutely no comparison there. Keep up the good work!!
@moneebk9163 жыл бұрын
This was a really great explanation! It's amazing to see the teacher work soo hard and explain each and every minute details of the algorithm
@KunalKushwaha3 жыл бұрын
Glad you enjoyed it!
@unknown_5152 жыл бұрын
@@KunalKushwaha Hey Kunal ! Please let us know when will you upload next video of this bootcamp.
@yodude83253 жыл бұрын
30:16 for a second I thought how can someone take so long to add 1 + 2 + 3 + 4 lmao but then I got to know you were thinking something different. Anyways kudos to your efforts towards the community!
@ervkgautam3 жыл бұрын
That entire calculation of time complexity got completely messed up. The reason lies with the mixing up of generic N and ignoring that N= 5 for that case. Otherwise, the calculation should be straight forward: N-1 + N-2 ......+ N-(N-1) = N(N-1)/2. Also, explaining a bit about the divide-and-conquer' approach as one of the main concepts in computational thinking should have saved a lot of time in the starting that went into explaining which looks more like hitting around a bush. kudos, Kunal!
@pankajmalhotra87583 жыл бұрын
Great work and explanation! A small point: The reason explained for N^2 time complexity seems incorrect. The N^2 term seems to have a minus sign which suggests time taken would decrease with increasing N. However, if the 4 in the first term, i.e. 4N, is instead written as (N-1)*N (as N is 5 in the example taken), then N^2 will have a positive sign overall.
@pankajmalhotra87583 жыл бұрын
Also, for 1+2+3+4, it should be N(N-1)/2 assuming N=5.
@KunalKushwaha3 жыл бұрын
Yes, you are right. It was only for this case, I didn't know how to explain before we cover complexity analysis. Hence, I'll cover complexity of each algorithm in that video.
@aniketyadav60092 жыл бұрын
Hey ! but for worst case Overall time complexity should be O(N^3) , on considering outer loop. You have considered only inner loop 31:20 as time complexity why?
@MuhammadUsman-fr4rw Жыл бұрын
@@aniketyadav6009 Same question comes into my mind i searched about it and come to know that outer loop is just iterating not taking any time (quite less which is ignorable) and most of the operations are being done in inner loop.
@hrithikshaw4343 жыл бұрын
He has such a great oratory voice that puts an icing to the cake of his teaching.. Thank you so much Kunal❤❤
@harshverma13163 жыл бұрын
I learnt Bubble sort 1st time in class 11 and i was like : kya h ye.... my CS teacher to me: DSA is not everyone's cup of tea ☕ so , u have to remember it for your exams(ratta laga lo ).. Also me now : Hauaa bna rakha h😒🤦♂️ I am in relationship with DSA now😎💕
@dakshsingh58913 жыл бұрын
Yaaa samee!!!!
@Dhanush.Y3 жыл бұрын
Thank you bhaiya for this amazing FREE course, getting lot of confidence when you are bursting all myth's around. It's true there is no such quality content in the internet #OPKUNALBHAIYA
@manishdhakeria45182 жыл бұрын
Thanks Kunal, it is really great, i tried by reducing the first loop after every run because last element is anyway the largest in array. // Here y is my array for(int count=y.length;count >0; count--){ for (int i=0;iy[i+1]) { int temp = y[i]; y[i] = y[i+1]; y[i+1] = temp; } } }
@prasun_harsh11 ай бұрын
Hey Kunal you are doing fantabulous job bro. I had completed my undergrad last year and I started dsa from last month for career advancement .Literally speaking the way you explain thing in simple way is awesome.
@satyamtiwari37723 жыл бұрын
Generally I don't comment on videos ,but bro you absolutely nailed it ! Keep it up and keep it free as well .
@Pizza_Theory Жыл бұрын
I was struggling with sorting, and though this is a Java DSA playlist, I gave bubble sort a shot in my CPP code. Your explanation made it feel so easy, and I managed to code it without any trouble. Thanks a ton for providing such amazing free educational content. It really helped me out! Keep up the awesome work!
@sainaid5 ай бұрын
The way Kunal bhaiya is explaining things is top-notch. Thankyou for this free DSA course ❤
@tungnguyen26789 Жыл бұрын
My professor went over all type of sorts in like half an hour, I got basically zero knowledge from that lecture. Thank you Kunal for giving effort to create such a detailed lecture on bubble sort.
@stranger_09116 ай бұрын
Man thank you for the free course i will surely like all the videos and comment too. Nowhere else in youtube this type of detailed course is found
@Pradeep_0009610 ай бұрын
You are beyond our expectation...Great Work brother...Thank you ...And I hope that I will master in this course within 3 months ...
@samhitasegar28644 ай бұрын
Legendary explainations!! Thanks alot for efforts on this video!!! @KunalKushwaha
@devincodes52182 жыл бұрын
Like always Kunal, you've saved me the trouble of going through all the internet trying to grasp these concepts. Your approach to teaching makes it quite easy, thank you
@Anonymous200343 жыл бұрын
Simple ,to the point and even the code is small.Thank you for your efforts 🙌🙌
@avanishdubey65563 жыл бұрын
Tomorrow I am going to explain all about bubble sort but before a day I want some confidence so that I saw the Kunal bubble sort video for the best explanation and that is amazing and after seeing this my confidence is like upper level(I am going to excite the class).
@santhoshkumarmittapally58662 жыл бұрын
The way you explained the time complexity is great for this sorting algorithm. Your videos are very detailed. Thanks a lot for the great content. I am hearing about stable and unstable sort for the first time, thanks a lot for explaining it with colors.
@googlemani2 жыл бұрын
Best explanation on bubble sort. Thank you Kunal for the awesome work 👏👌
@KunalKushwaha2 жыл бұрын
Glad you liked it
@googlemani2 жыл бұрын
@@KunalKushwaha Your DSA playlist is excellent content I have found on the subject till date. I have not completed the entire playlist, but I can confidently say with the lectures so far I watched. Thanks again.
@gouravmohanty69563 жыл бұрын
Hey Kunal! It was an awesome lecture. Just to clarify, I is running 5 time if you see it in your code. But according to theory it should run actually 5-1= 4 times. We are starting from zero. So actually it should be, i < arr.length -1; So loop is running one extra time. Break is there to help it out obviously. But just for clarification if anyone has any doubt
@KunalKushwaha3 жыл бұрын
Yep, the reason is that sometimes for code clarity such optimisations can be ignored. Also I mentioned we will discuss complexity in detail in time complexity lecture.
@tabraizkhan97755 ай бұрын
I also noticed it and wanted to check if any of the others did find it ..
@tloumoreti48006 ай бұрын
What a legend❤❤
@princenagar1686 Жыл бұрын
Already know this sorting but new thing i learnt is Stop When It is not Swapping for Particular Value of i. Nice video🎉🎉
@t.c.a.n.scyberz99593 ай бұрын
I love his content
@sravanakirtana278711 ай бұрын
Very Nice explanation of all topics. Especially the questions you don't only solve it but also teach how to approach and how to think on our own. This is excellent teaching. Thank you very much.
@madara_uchiha5326 ай бұрын
it's really great learning with you
@KshitizAnand-xr1wj5 ай бұрын
Thank you Kunal for sharing such an optimised code for bubble sort.
@AyushiSingh-q8m8 ай бұрын
@Kunal Kushwaha you are fab!!
@Helly_Patel2 жыл бұрын
Thanks for teaching us like no one did till now!! One small request, please make lectures on dynamic programming as well!!
@Noturs-r6mАй бұрын
No doubt the best dsa course
@shubhambansal87943 жыл бұрын
Thank you for all the amazing lectures. #bhaiyon_Mein_bhaiya_Kunal_bhaiya
@charlesopuoro52952 жыл бұрын
Kunal, great job as usual. Thank you for passionately charitably investing your time, energy and resources to educate us.👏👏👏
@agyaani80602 жыл бұрын
Best video of bubble sort on whole KZbin is here! Thanks kunal bhaiya❤❤✨
@tarasishbhattacharya11403 жыл бұрын
Best DSA video i have ever seen...Great teaching skilll....
@KunalKushwaha3 жыл бұрын
Glad you liked it
@Pradeep_0009610 ай бұрын
Though i know bubble sort I played a video and hence you proved that you will introduce new things in it..Great work brother
@AnubhavMadhav2 жыл бұрын
What a quality of content and teaching as well, thank you so much Kunal!❤💯
@shahsikalagowda1833 ай бұрын
Day by day i am falling in love with ur course❤
@amanrawat52719 ай бұрын
One of the most knowledgeable and topics are so deeply explained !! in this video ..
@puneetchhabra2578 Жыл бұрын
36:48 it will be i < arr.length-1 actually, as we want to have (n-1) pass so [0,n-2] are n-1 passes/or value of i.
@debasmithmishra7871 Жыл бұрын
Thanks
@praveshverma0808 Жыл бұрын
Noone can defeat you in teaching and explanation ways 😘
@deepshah21372 жыл бұрын
thanks alot kunal , please complete the playlist soon
@ishukhare13142 жыл бұрын
Understood completely. Not even a single doubt.
@kaiwalya_koparkar3 жыл бұрын
Great explanation and efforts. Thank you so much
@Sushil_skp3 жыл бұрын
oo bhai sahab ya to next level pa concept da rha ho bhiya aap to maza aa gya
@amaanullah132 жыл бұрын
Yayyy, I always learn something new from you 🤗. You are a true gem 💎 Please complete the rest of the topics🥺too. Ab final year mein aagye hai And my tension is 📈
@smyounus7182 Жыл бұрын
hey Kunal !!!, first of all thank you so much for this playlist, I have doubt in the outer for loop isn't it "i
@invisible20543 ай бұрын
Extremely mind blowing video ❤
@nilabhjoshi7556 Жыл бұрын
following the course with patience its awesome
@DURGASREECHOWDHARYKOMMINI2 ай бұрын
I am so excited to learn further and more interested, great and clear explanation ❤
@PurnaPlayssАй бұрын
Great thanks
@Happiness_sonia9 ай бұрын
Thank you for making it so easy for us.. it needs lot efforts behind at your end to deliver this quality content to us !
@JRCS_Asadulla Жыл бұрын
Trust me guys its best course among all the paid DSA courses tqs kunal❤
@aastharawat321 Жыл бұрын
You explained each and every concept in very detailed manner🤞🤞
@its-itish10 ай бұрын
thank you so much sir...
@taha2559 Жыл бұрын
The best one on youtube! Big love kunal❤🔥
@ruparani572025 күн бұрын
thank you for your course kunal! it is really helping in my interview preparation
@poorpanda9033 Жыл бұрын
I'm so grateful that i found your channel. Thank you so much !
@rohit4663 Жыл бұрын
Bubble sorting well explained in depth. Thanks Kunal ❤
@pradeepraok44352 жыл бұрын
Im 2nd Year CSE btech but didnt knew about stable and unstable sorting algorithm before this video.Thanks for the info.
@riamonga22832 жыл бұрын
The only video that fixes code for O(N) - Best Case complexity 🤯🙌🙌
@PROTECHRAHUL3 жыл бұрын
I saw some channels having heart attack at LinkedIn 😁 Kunal bhai you are rocking can't wait to start Ml and Web-D after DSA. Lots of loves to you😍
@chandruram7553 Жыл бұрын
TQ 💖
@Sanjay-Jangid Жыл бұрын
Thankyou Kunal for such amazing DSA course. 🙏🙏 #DSAwithKunal
@bekamengesha85273 ай бұрын
great explanation as always, checkig with a boolean value to terminate if the loop was already sorted was a great idea
@KunalKushwaha3 ай бұрын
Glad it helped
@dhananjayand53353 жыл бұрын
Haven't seen a detailed explanation on bubble sort in my life. My favorite part is the complexity analysis. @Kunal Kushwaha , you're proving again and again that this is the best DSA course. I'll say thank you for every video you're gonna post in future days.
@PranjalChalak29 күн бұрын
We won't get such deep explaination anywhere 👍
@aniketmore14109 ай бұрын
Before watching this video, I didn't know their something like stable or unstable sorting for bubble sort. Thanks kunal for such deep explanation. 😊❤
@KunalKushwaha9 ай бұрын
Most welcome 😊
@akashvenkatesh023 жыл бұрын
Thank you for all these wonderful videos!!
@rajeshreegavhale32277 ай бұрын
Best data structure playlist ,😃 Thanks kunal
@implementtech96836 ай бұрын
Love your way of teaching...
@bhaskarpanigrahi88722 жыл бұрын
Its by far very well structured course ever
@shashianand6919 Жыл бұрын
👌👌👌Tremendous effort and explanation kunal✊✊✊🎉🎉
@ahmadraza94_2 жыл бұрын
Great vibes and explanation. It is like something, that we always wanted, Like someone teaching you by holding your hand💖
@swarnavadhar581210 ай бұрын
Currently I am in the final year of my MCA and I found this playlist, if I would have found this earlier, my concept would have been lot more clearer, but I still decided to watch it, and with each and every video I am getting more and more excited, and learning a lot more thing with clarity. #dsa_god_kunal_kushwaha
@vivekr1169 Жыл бұрын
Thank you kunal for making this playlist and putting your efforts
@RaviShankar-xn1sv3 жыл бұрын
A friendly reminder 🙃 Please like this video...it might reach to a student who needs this because of your like. So do the good work people.thanks
@NSEERADIVYA3 ай бұрын
Good explanation sir..💓🙇
@BibekGhoshh12 жыл бұрын
awsome
@kunalgupta30292 ай бұрын
great explanation , loved it how you explain everything so deeply
@nishiths72552 ай бұрын
Great Explaination on bubble sort 🔥
@saurabhjaswal212 жыл бұрын
Amazing video, all doubts are cleared. Thanks man, keep doing
@kmohammedalthaf35353 жыл бұрын
@Kunal Kushwaha it's a really great video, I came here to check how good you will explain, but it made me stay till the end of the video, I really appreciate your work, keep growing, our support will be always there.