Komentáře •

  • @Rishabhsharma-ou4dl
    @Rishabhsharma-ou4dl Před 2 lety +262

    I saw many videos on CZcams 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

    • @KunalKushwaha
      @KunalKushwaha Před 2 lety +36

      Thank You!

    • @30sunique78
      @30sunique78 Před rokem +3

      @@KunalKushwaha such a amazing Explanation

    • @daniel.s1621
      @daniel.s1621 Před 8 měsíci +1

      True, to a 100%

    • @user-wf9ng6lp3b
      @user-wf9ng6lp3b Před 2 měsíci

      ​@@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

  • @StoryGicRohit
    @StoryGicRohit Před 2 lety +154

    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

  • @sadmansakibrabbani2181
    @sadmansakibrabbani2181 Před 2 lety +130

    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
      @jaspreetsodhi Před rokem +2

      Same here in canada haha..

    • @princenagar1686
      @princenagar1686 Před 6 měsíci +2

      Meanwhile in India these things are covered in 1st year two times, unofficially in 1st semester and officially in 2nd semester.

    • @dab6923
      @dab6923 Před 6 měsíci +2

      ​@@princenagar1686 hi fellow iiitbhian 👍

    • @princenagar1686
      @princenagar1686 Před 6 měsíci +1

      @@dab6923 hi, what's your name??

    • @user-mo3mi5gr3o
      @user-mo3mi5gr3o Před měsícem +1

      ​@princenagar1686 which college bro ?????

  • @Coding-Mind
    @Coding-Mind Před 10 měsíci +5

    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.

  • @abhisekhkumarjha4210
    @abhisekhkumarjha4210 Před 2 lety +4

    BEFORE I USED TO HAVE A FEAR OF DSA TERM ONLY BUT NOW AFTER KUNAL STARTED TEACHING I FEEL IT MORE SIMPLER..THANK YOU

  • @lostt3435
    @lostt3435 Před 2 lety +1

    Very detailed video, in tears because got every bit of the video. nobody explained it this good. Keep doing the great work, Kunal.

  • @Scorpio6466
    @Scorpio6466 Před 2 lety +8

    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.

  • @Pizza_Theory
    @Pizza_Theory Před 11 měsíci

    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!

  • @devincodes5218
    @devincodes5218 Před rokem

    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

  • @amanverma5131
    @amanverma5131 Před 2 lety +5

    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!!

  • @jeevikasirwani9719
    @jeevikasirwani9719 Před 2 lety +2

    Simple ,to the point and even the code is small.Thank you for your efforts 🙌🙌

  • @mohank9065
    @mohank9065 Před rokem +4

    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 😇😇😇

  • @varshneytiwari2175
    @varshneytiwari2175 Před 9 měsíci +1

    for the first time i understood bubble sort,i dont thin i will ever forget it now ....thanks kunal bhaiya

  • @AmitGupta-zj4gq
    @AmitGupta-zj4gq Před 2 lety +2

    This man deserve the highest award for his Nobel work...
    Thanks a lot Kunal...

  • @srushtipatil9297
    @srushtipatil9297 Před 2 lety +19

    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
      @siddharthsid1540 Před 8 měsíci

      why did he write swapped=false after for loop ?

    • @laxminarayanakoyyana1753
      @laxminarayanakoyyana1753 Před 7 měsíci +1

      @@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.

  • @arnabdan8692
    @arnabdan8692 Před 2 lety +50

    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.

  • @harshverma1316
    @harshverma1316 Před 2 lety +13

    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😎💕

  • @AnubhavMadhav
    @AnubhavMadhav Před rokem +3

    What a quality of content and teaching as well, thank you so much Kunal!❤💯

  • @charlesopuoro5295
    @charlesopuoro5295 Před rokem +1

    Kunal, great job as usual. Thank you for passionately charitably investing your time, energy and resources to educate us.👏👏👏

  • @kaiwalya_koparkar
    @kaiwalya_koparkar Před 2 lety +8

    Great explanation and efforts. Thank you so much

  • @akashvenkatesh02
    @akashvenkatesh02 Před 2 lety +2

    Thank you for all these wonderful videos!!

  • @hrithikshaw434
    @hrithikshaw434 Před 2 lety +17

    He has such a great oratory voice that puts an icing to the cake of his teaching.. Thank you so much Kunal❤❤

  • @singhamita
    @singhamita Před 3 měsíci

    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 !!!

  • @deepshah2137
    @deepshah2137 Před 2 lety +1

    thanks alot kunal , please complete the playlist soon

  • @vivekr1169
    @vivekr1169 Před rokem

    Thank you kunal for making this playlist and putting your efforts

  • @poorpanda9033
    @poorpanda9033 Před 10 měsíci

    I'm so grateful that i found your channel. Thank you so much !

  • @moneebk916
    @moneebk916 Před 2 lety +26

    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

    • @KunalKushwaha
      @KunalKushwaha Před 2 lety +12

      Glad you enjoyed it!

    • @unknown_515
      @unknown_515 Před rokem +2

      @@KunalKushwaha Hey Kunal ! Please let us know when will you upload next video of this bootcamp.

  • @omarshaikh1461
    @omarshaikh1461 Před 2 lety

    Like always, another great video ! Keep going Kunal 🔥

  • @satyamtiwari3772
    @satyamtiwari3772 Před 2 lety +1

    Generally I don't comment on videos ,but bro you absolutely nailed it !
    Keep it up and keep it free as well .

  • @Helly_Patel
    @Helly_Patel Před 2 lety +2

    Thanks for teaching us like no one did till now!! One small request, please make lectures on dynamic programming as well!!

  • @ishanvyas2178
    @ishanvyas2178 Před 7 dny

    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

  • @agyaani8060
    @agyaani8060 Před 2 lety

    Best video of bubble sort on whole CZcams is here! Thanks kunal bhaiya❤❤✨

  • @yodude8325
    @yodude8325 Před 2 lety +11

    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!

    • @ervkgautam
      @ervkgautam Před 2 lety +3

      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!

  • @nilabhjoshi7556
    @nilabhjoshi7556 Před 9 měsíci

    following the course with patience
    its awesome

  • @ayushthummar3309
    @ayushthummar3309 Před 2 lety

    I have to say you have some amazing skill of teaching , Thanks kunal 👍🏻👍🏻❤️

  • @implementtech9683
    @implementtech9683 Před 11 dny

    Love your way of teaching...

  • @y.dhanush3607
    @y.dhanush3607 Před 2 lety +9

    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

  • @madara_uchiha532
    @madara_uchiha532 Před 5 dny +1

    it's really great learning with you

  • @SriHarsha02
    @SriHarsha02 Před 2 lety

    Thank you Kunal for clear explanation.

  • @akhila5597
    @akhila5597 Před 2 lety +1

    Amazing detailed explanation!

  • @ahmadraza94_
    @ahmadraza94_ Před rokem +1

    Great vibes and explanation.
    It is like something, that we always wanted,
    Like someone teaching you by holding your hand💖

  • @user-xs6dy1gw2m
    @user-xs6dy1gw2m Před měsícem

    @Kunal Kushwaha you are fab!!

  • @MuhammadArslan-px1sm
    @MuhammadArslan-px1sm Před 29 dny

    very detailed and comprehensive

  • @MMirabel
    @MMirabel Před 5 měsíci

    Thank you for your time and efforts^^!

  • @mnchethan4208
    @mnchethan4208 Před rokem

    Thanks Kunal for creating such a great content
    I understood Bubble sort in one short

  • @saurabhjaswal21
    @saurabhjaswal21 Před 2 lety +1

    Amazing video, all doubts are cleared. Thanks man, keep doing

  • @santhoshkumarmittapally5866

    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.

  • @girirajtomar519
    @girirajtomar519 Před 2 lety

    Thank for such a great video kunal.

  • @jamesheller2707
    @jamesheller2707 Před 2 lety

    Understood everything, Best bubble sort video ever

  • @ishukhare1314
    @ishukhare1314 Před 2 lety

    Understood completely. Not even a single doubt.

  • @avanishdubey6556
    @avanishdubey6556 Před 2 lety +2

    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).

  • @surajmaity6194
    @surajmaity6194 Před 2 lety

    I learnt new concept over sorted array and also time complexity part.
    Amazing

  • @Mukul573
    @Mukul573 Před 2 měsíci

    Very detailed and good explanation . Thank you for this .

  • @ananttiwary8552
    @ananttiwary8552 Před 4 dny

    thank you sir for making this free resource

  • @madhawendrasingh1169
    @madhawendrasingh1169 Před 2 lety +3

    Loved the explanation and specially the optimisation that you made to the algorithm when array gets sorted.
    (Usually this optimisation is not given in books even). Thanks Kunal ;-)

  • @sumitpatil5676
    @sumitpatil5676 Před 2 lety

    As always, great explanation.

  • @amanrawat5271
    @amanrawat5271 Před 2 měsíci

    One of the most knowledgeable and topics are so deeply explained !! in this video ..

  • @308varaprasad4
    @308varaprasad4 Před rokem

    Thanks for Bringing this Lecture Series

  • @glaide1500
    @glaide1500 Před 11 dny

    Very clean and neat.

  • @rajeshreegavhale3227
    @rajeshreegavhale3227 Před měsícem

    Best data structure playlist ,😃 Thanks kunal

  • @aastharawat321
    @aastharawat321 Před 10 měsíci

    You explained each and every concept in very detailed manner🤞🤞

  • @pradeepraok4435
    @pradeepraok4435 Před 2 lety

    Im 2nd Year CSE btech but didnt knew about stable and unstable sorting algorithm before this video.Thanks for the info.

  • @Pradeep_00096
    @Pradeep_00096 Před 4 měsíci

    You are beyond our expectation...Great Work brother...Thank you ...And I hope that I will master in this course within 3 months ...

  • @sravanakirtana2787
    @sravanakirtana2787 Před 4 měsíci

    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.

  • @pankajmalhotra8758
    @pankajmalhotra8758 Před 2 lety +22

    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.

    • @pankajmalhotra8758
      @pankajmalhotra8758 Před 2 lety +3

      Also, for 1+2+3+4, it should be N(N-1)/2 assuming N=5.

    • @KunalKushwaha
      @KunalKushwaha Před 2 lety +16

      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.

    • @aniketyadav6009
      @aniketyadav6009 Před 2 lety

      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
      @MuhammadUsman-fr4rw Před rokem

      @@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.

  • @rahuldwivedi9236
    @rahuldwivedi9236 Před 2 lety

    first time seeing someone talking about stability of sorting algo nice

  • @AjitKumar-gn1se
    @AjitKumar-gn1se Před 4 měsíci

    Thank you for the clear explanation. I appreciate it.

  • @rohit4663
    @rohit4663 Před 9 měsíci

    Bubble sorting well explained in depth. Thanks Kunal ❤

  • @aryanparishwad24
    @aryanparishwad24 Před 6 měsíci

    Beautifully explained!

  • @Sonia-ug9wk
    @Sonia-ug9wk Před 3 měsíci

    Thank you for making it so easy for us.. it needs lot efforts behind at your end to deliver this quality content to us !

  • @user-nh9hb9yl7v
    @user-nh9hb9yl7v Před 5 měsíci

    amazing video. Way of teaching is gr8

  • @piyushkhandelwal1662
    @piyushkhandelwal1662 Před 2 lety

    Video is awesome i completed this video in just one shot thank you so much sir 🤗🤗🤗

  • @tungnguyen26789
    @tungnguyen26789 Před 6 měsíci

    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.

  • @prasun_harsh
    @prasun_harsh Před 5 měsíci

    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.

  • @kaustubhyashukla2237
    @kaustubhyashukla2237 Před 2 lety +1

    Great video and detailed and apt explaination

  • @jayakrishnapanga8519
    @jayakrishnapanga8519 Před rokem

    you are helping me lot in understanding these algorithms
    thanks

  • @manishdhakeria4518
    @manishdhakeria4518 Před rokem +1

    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;
    }
    }
    }

  • @bhaskarpanigrahi8872
    @bhaskarpanigrahi8872 Před rokem

    Its by far very well structured course ever

  • @praveshverma0808
    @praveshverma0808 Před 9 měsíci +1

    Noone can defeat you in teaching and explanation ways 😘

  • @adityamohan2820
    @adityamohan2820 Před rokem

    an amazing course, it's great for beginners and amateur's as well, great initiative by kunal :)

  • @udaysingh2484
    @udaysingh2484 Před rokem

    Grasped most of it. Thank you Kunal ❤

  • @nagarjunaakkisetty6801

    Great working Kunal sir and explaining very well .

  • @ankitasingh734
    @ankitasingh734 Před rokem

    Thanks for this amazing course.

  • @aashraykatiyar4357
    @aashraykatiyar4357 Před 2 lety

    You are a role model for me.

  • @ankit_1012
    @ankit_1012 Před 2 lety

    My favorite teacher😌😌😌kunal sir..!!!

  • @vaibhav_kubal
    @vaibhav_kubal Před 9 měsíci

    Great video Kunal. Understood everything !! Thanks a lot :)

  • @indianintrovert281
    @indianintrovert281 Před 4 měsíci

    Thanks for teaching bubble sort

  • @vaibhavimishra763
    @vaibhavimishra763 Před 9 měsíci

    Your explanation really makes the things so so clearer , thanku for teaching us so nicely ☺️👌

  • @linguistics8477
    @linguistics8477 Před rokem

    Thank you!! so much for such wonderful explanation..

  • @raunakgupta5528
    @raunakgupta5528 Před 9 měsíci

    Thanks kunal bhaiya

  • @googlemani
    @googlemani Před rokem +6

    Best explanation on bubble sort. Thank you Kunal for the awesome work 👏👌

    • @KunalKushwaha
      @KunalKushwaha Před rokem +1

      Glad you liked it

    • @googlemani
      @googlemani Před rokem

      ​@@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.

  • @Poetichealing8
    @Poetichealing8 Před 6 měsíci

    Very Nice Explanation Kunal

  • @Pradeep_00096
    @Pradeep_00096 Před 4 měsíci

    Though i know bubble sort I played a video and hence you proved that you will introduce new things in it..Great work brother

  • @Sushil_skp
    @Sushil_skp Před 2 lety

    oo bhai sahab ya to next level pa concept da rha ho bhiya aap to maza aa gya

  • @itishachoudhary906
    @itishachoudhary906 Před 3 měsíci +1

    thank you so much sir...

  • @jangamratnaharika1580
    @jangamratnaharika1580 Před 2 lety

    Grateful always : )

  • @RaviShankar-xn1sv
    @RaviShankar-xn1sv Před 2 lety

    Kunal Thanks alot for all your hardwork!
    It's really helpful : )
    Thanks

  • @triples6198
    @triples6198 Před 5 měsíci

    thank you for teaching!

  • @karthikeyan.s2565
    @karthikeyan.s2565 Před 11 měsíci +1

    Amazing!!!❤

  • @anjalithakur_12
    @anjalithakur_12 Před 2 lety

    This was good and a very great explaination.
    Thanks for the efforts