Sorting - Part 1 | Selection Sort, Bubble Sort, Insertion Sort | Strivers A2Z DSA Course

Book a FREE career counseling session with Learnbay: bit.ly/3km2s6W
@Learnbay is an established EdTech platform with expertise in Data Science & AI and Full-Stack Development courses headquartered in Bengaluru.
They offer several IBM-certified Data Science courses. Since 2015, Learnbay has helped 10,000+ people to have a successful safe career transition.
Follow Learnbay platforms to stay connected for the latest updates & information: linktr.ee/Learnbay
#Learnbay #learnbaycourse #learnbayreview #learnbaydatascience #learnbaycoursereview #learnbaydatasciencecoursereview #learnbayfullstack
Notes/C++/Java/Python Codes:
Selection sort: takeuforward.org/sorting/sele...
Bubble Sort: takeuforward.org/data-structu...
Insertion Sort: takeuforward.org/data-structu...
Full Course: takeuforward.org/strivers-a2z...
You can follow me across social media, all my handles are below:
Linkedin/Instagram/Telegram: linktr.ee/takeUforward
0:00 Intro
2:45 - Selection Sort
6:50 - Pseudo code / implementation for Selection Sort
14:28 - C++ code for selection sort
17:41 - Bubble Sort
22:00 - Pseudo code / implementation for Bubble Sort
25:52 - C++ code for bubble sort
31:40 - Insertion Sort
36:55 - Pseudo code / implementation for Insertion Sort
38:52 - C++ code for Insertion Sort

Пікірлер: 820

  • @takeUforward
    @takeUforward Жыл бұрын

    Book a FREE career counseling session with Learnbay: bit.ly/3km2s6W Let's march ahead, and create an unmatchable DSA course! ❤ Can someone please add timestamps, I will add them post-it.

  • @sweetyjain8204

    @sweetyjain8204

    Жыл бұрын

    Hey @striver @take U forward , it's a humble request can u, please complete this series soon as the placement season is coming soon....🙏

  • @Vikash-zq7vx

    @Vikash-zq7vx

    Жыл бұрын

    Hey Striver please complete the series.

  • @mgfreefirelover4471

    @mgfreefirelover4471

    Жыл бұрын

    @takeUforward Hey! Can you complete Binary search Section more quickly

  • @aniltandivitb4482

    @aniltandivitb4482

    Жыл бұрын

    Bhaiya , if we solve a question and if need to sort the array then which algo we would to implement

  • @webtestingui7187

    @webtestingui7187

    Жыл бұрын

    Kaha thay aap,maine itna YT me search kia but aapka channel suggest nahi huwa until mera ek dost ne nahi bola hota Maira DSA teacher ne jo topic clear nahi karwa pa a aap wo kar di a Thank you

  • @saurabh8260
    @saurabh8260 Жыл бұрын

    A lot of problems are going on in my life right now. But still I'm showing up everyday to learn something new in dsa and to solve questions. Problems will come and problems will go but I should continue my hustle. All of our struggles will pay off one day.

  • @dhruvrajsinhgohil6715

    @dhruvrajsinhgohil6715

    Жыл бұрын

    Hope is the most precious thing do not lost it

  • @darshanakv4946

    @darshanakv4946

    Ай бұрын

    Beautiful message that I saw today!

  • @pulkit-rastogi97

    @pulkit-rastogi97

    Ай бұрын

    This motivate me, I am going through some similar situation

  • @SauravSingh-xm6nn

    @SauravSingh-xm6nn

    18 күн бұрын

    @@pulkit-rastogi97 don't lose your hope , just keep giving your best so that you won't regret, in fact if you honestly give your best you can , you are likely to succeed !

  • @vaibhavagarwal602

    @vaibhavagarwal602

    6 күн бұрын

    Same man, i was struggling to get up from bed the entire day. But finally at 11pm i decided i will atlest spend the last hout of my day working towards my financial independece

  • @msdarshankirthic9990
    @msdarshankirthic9990 Жыл бұрын

    Selection Sort TC -> worst - O(N^2) best - O(N^2) 2:45 - Selection Sort 6:50 - pseudo code / implementation for selection sort 14:28 - C++ code for selection sort Bubble Sort TC -> worst - O(N^2) best - O(N) 17:41 - Bubble Sort 22:00 - pseudo code / implementation for bubble sort 25:52 - C++ code for bubble sort Insertion Sort TC -> worst - O(N^2) best - O(N) 31:40 - Insertion Sort 36:55 - pseudo code / implementation for insertion sort 38:52 - C++ code for insertion sort

  • @afzalmd23

    @afzalmd23

    6 ай бұрын

    Thinking about your notes📝 😮😮

  • @raimasoni3013
    @raimasoni3013 Жыл бұрын

    2:45 Selection Sort 17:41 Bubble Sort 31:40 Insertion Sort 😊

  • @takeUforward

    @takeUforward

    Жыл бұрын

    Thank you

  • @chhavigoel7030
    @chhavigoel70306 ай бұрын

    So many videos on Sorting on the internet yet this proves to be the BEST. Thank you so much.

  • @hypernova5159
    @hypernova515910 ай бұрын

    The amount of effort you put in these videos is truly amazing. Thanks a lot 🙏

  • @nandhakrishna2330
    @nandhakrishna23306 ай бұрын

    The amount of effort you put in these videos is truly amazing. 🙏

  • @omgaikwad5962
    @omgaikwad5962 Жыл бұрын

    HI Striver, One request please provide the videos for upcoming topics asap and Big thank for providing such an amazing series.

  • @aydasu
    @aydasu Жыл бұрын

    Striver, you are a gift to us all! thanks so much!

  • @codingfunda1813
    @codingfunda1813 Жыл бұрын

    Bhaiya I am following your dsa AtoZ sheet.From 2 day i am trying to understand sorting concept but now it's become clear. Lots of love

  • @Manishgupta200
    @Manishgupta200 Жыл бұрын

    Thankyou Striver. It's really an easy to understand. I also learnt to find Time Complaxity from every code by myself after seeing this video. Please make video on other sorting methods. ❤

  • @cinime
    @cinime Жыл бұрын

    Understood! Amazing explanation as always, thank you very much for your continuous effort for making the video!!

  • @hari7939
    @hari7939 Жыл бұрын

    mannnnn!!!! Just addicted to ur teaching🔥🔥, every little concept is crystal clear

  • @sumitvishwkarma6907
    @sumitvishwkarma6907 Жыл бұрын

    This is going to be one of the best series of all time, thankyou so much raj bhaiya, just a small request can you please upload new videos asap, btw thankyou again ❤

  • @mr-suraj-cse
    @mr-suraj-cse7 ай бұрын

    Finally I found the best DSA course on KZread. ❤The way you explain concept is awesome. ❤❤ There was not a single second when I felt bored . Thankyou very much for your effort. ❤❤ ❤❤

  • @siftainejaz4772
    @siftainejaz477210 ай бұрын

    UNDERSTOOD. THE WAY YOU TEACH IS BRILLIANT.

  • @MohsinAli-zg3hr
    @MohsinAli-zg3hr10 ай бұрын

    UNDERSTOOD. Thanks for giving us this course!

  • @JazzSparrow0321
    @JazzSparrow03213 ай бұрын

    I find this is best DSA video i have ever seen on youtube. Thabak you Mr. TUF for this informative session.

  • @suryaprakashiitbhu191
    @suryaprakashiitbhu1915 ай бұрын

    Striver, Your content is truly outstanding and incredibly informative! Always thank you for your relentless hard work and consistently delivering the best content.❤

  • @sukhpreetsingh5200
    @sukhpreetsingh5200 Жыл бұрын

    😅😅As usual awesome!!

  • @deepak8720
    @deepak87207 ай бұрын

    Understood. Thanks for your commitment. That in itself is amazing motivation to keep going.

  • @AbhishekChaurasiya-op6pq
    @AbhishekChaurasiya-op6pq10 күн бұрын

    Understood everything and it became crystal clear topic

  • @ShubhamSharma-zq2xn
    @ShubhamSharma-zq2xnАй бұрын

    Stirver-Forever, Just striving to become the best version of myself. All thanks to raj vikrmaditya bhaiya. You're the best hope for students like us, belonged from tier-3 college, where there is no hope in hell to get a sde job, but their is this man standing with a freakin Sun the light the path for use. I don't know how I will thank you but one day I believe all my hard work will pay off when I will meet you and telling you my story of life, how I made zero to Prodigy. Till I didn't hit it, byy sir I am going back to hustle....

  • @shubhivishwakarma9331
    @shubhivishwakarma93317 ай бұрын

    you are amazing all the sorting you taught looks very easy after watching your vdo

  • @UserUser-tn8tv
    @UserUser-tn8tv9 ай бұрын

    I just wanna say Thank U you are a big brother figure for me...

  • @reddotcheese
    @reddotcheese3 ай бұрын

    It's easiest explanation I have seen. Appreciate the effort that went.

  • @user-sc7vy3ye6v
    @user-sc7vy3ye6v6 күн бұрын

    You are the best man... I donot know where this energy come from...

  • @charlesbabbage6786
    @charlesbabbage67863 ай бұрын

    What an AMAZING teacher!!!

  • @ashwinikumarray__a2-255
    @ashwinikumarray__a2-255 Жыл бұрын

    Quality content.... Explained effectively and completely..

  • @tejasbisen6215
    @tejasbisen6215 Жыл бұрын

    I never seen before content where 🔥Crystal level concept Explained ✨Dope🔥

  • @animexworld6614
    @animexworld6614 Жыл бұрын

    Hey striver , it's a humble request can u, please complete this series soon as the placement season is coming soon....🙏

  • @bishalkundu7592

    @bishalkundu7592

    Жыл бұрын

    Yes striver 😭 plzzz Want to learn the whole series just from u. Already watched DP and Graph and Trees playlist from ur channel. Plzz striver try to complete this series as soon as possible 😭

  • @harshavardhan184

    @harshavardhan184

    Жыл бұрын

    Yes please 🥺🥺🥺

  • @venomhighs1937

    @venomhighs1937

    Жыл бұрын

    brother once striver reaches to Poland he will be regular in posting videos !!

  • @yikes3807

    @yikes3807

    Жыл бұрын

    @@bishalkundu7592 u completed DP graph trees and you are waiting for basic topics?

  • @bishalkundu7592

    @bishalkundu7592

    Жыл бұрын

    @@yikes3807 Not basic but ya heaps Sliding windows stacks Queues Binary Search. Waiting for this

  • @sparshverma4030
    @sparshverma4030 Жыл бұрын

    Understood. Such an amazing course.

  • @curs3m4rk
    @curs3m4rk2 ай бұрын

    This is a very good explanation. With help of explanation itself I'm able to code and did the sorting. Really appreciate the efforts.

  • @siddhatagadhe6176
    @siddhatagadhe617611 ай бұрын

    understood totally, literally I forgot my phone while your lecture. Thanks a lot

  • @yashvardhansingh5341
    @yashvardhansingh5341Ай бұрын

    For bubble sort striver you are using i>=1 in outer loop in the pseudo code but while using the code editor you are using i>=0.

  • @pranjalisingh7484
    @pranjalisingh7484 Жыл бұрын

    Motivated me today to solve questions again .... And learn ...

  • @chiranjeebpanda8926
    @chiranjeebpanda89264 күн бұрын

    Understood. Best explanations for every sorting algo :)

  • @roshninv
    @roshninv10 ай бұрын

    Completed the sorting - I , thank you for the breif explaination bhaiya.

  • @066-roshankumar6
    @066-roshankumar69 ай бұрын

    Best Sorting video until Now THanks bhaiya...

  • @changed217
    @changed21710 ай бұрын

    Understood, thank you so much for the lecture and your efforts.

  • @shivamjaiswal1263
    @shivamjaiswal126311 ай бұрын

    Hats off to your effort and teaching skill striver. No one can explain as you were explaining topics🫡🫡🫡

  • @harshavardhan184
    @harshavardhan184 Жыл бұрын

    Amazing yar.. please continue the series faster.. eagerly waiting to learn more!!!

  • @kirankumari-xx1rs
    @kirankumari-xx1rs3 ай бұрын

    Thank you Striver, I am in my first year but I am learning a lot from you.

  • @Raj10185
    @Raj10185 Жыл бұрын

    one suggession for insertion sort why we run outerloop from i = 0 we should start directly from i = 1 till iarr[j]) { int temp = arr[j]; arr[j]=arr[j-1]; arr[j-1]=temp; j--; }

  • @AryanRishi-vk6et

    @AryanRishi-vk6et

    18 күн бұрын

    it wouldn't impact anything if the outer loop is running from 0 to n-1 then when i = j = 0 it will no go into the while loop and move on to next iteration of i

  • @ankitdhattarwal2286
    @ankitdhattarwal228610 ай бұрын

    thank you sir for good explanation and provide best dsa sheet and in this video i first time hear --- left chota -- , ( left small ) ---> at 38 : 40 😁😁 and again thank you sir ❤

  • @user-vh7qb3zs4j
    @user-vh7qb3zs4j7 ай бұрын

    your explanation is just Awesome. UNDERSTOOD

  • @fullstacker786
    @fullstacker7864 ай бұрын

    understood it way better than anywhere else

  • @SubhashKumar-bj5xd
    @SubhashKumar-bj5xd10 ай бұрын

    I really appreciate your effort. And your videos are helping me a lot. thank you sir🙏

  • @anvith-error
    @anvith-error8 ай бұрын

    Thank you striver, amazing explaination.

  • @NIKHILKUMAR-zg3us
    @NIKHILKUMAR-zg3us8 ай бұрын

    understood Thank you so much for giving this fabulous course.

  • @muhammadzubair957
    @muhammadzubair9577 ай бұрын

    Good Explanation in the Sorting algorithm. Thanks a Lot❤❤ Strivers

  • @ashokasamrat8375
    @ashokasamrat8375 Жыл бұрын

    As always excellent lecture ☺️☺️.

  • @VishalYadav-gk1kg
    @VishalYadav-gk1kg6 ай бұрын

    Very Nice explanation sir, Thank you!

  • @yeswanthb
    @yeswanthb Жыл бұрын

    awesome explanation STRIVER thankyou

  • @priyanshushrivastava4453
    @priyanshushrivastava4453 Жыл бұрын

    great video and easy explanation helps a lot .

  • @rizwanshaikh4024
    @rizwanshaikh40243 ай бұрын

    Understood, thanks STRIVER

  • @milindjarsaniya
    @milindjarsaniya8 ай бұрын

    PERFECTLY UNDERSTOOD! ❤

  • @srishtijhaa
    @srishtijhaa10 ай бұрын

    Thankyou for putting out such valuable content

  • @DevashishJose
    @DevashishJose Жыл бұрын

    Understood. Thank you for your hard work.

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars7 ай бұрын

    simple and to the point, thank you :)

  • @jatilyadav4000
    @jatilyadav4000 Жыл бұрын

    Amazing Video.. thank you sir

  • @hareshnayak7302
    @hareshnayak7302Ай бұрын

    Understood,thanks striver for this amazing video.

  • @prayushgiri6515
    @prayushgiri65158 ай бұрын

    understood!!! Thanks Striver bhaiya

  • @thegeniusandsmartboys3757
    @thegeniusandsmartboys3757Ай бұрын

    understood. superb channel

  • @anilasari2663
    @anilasari266313 күн бұрын

    Thanks for the effort understood

  • @rishikeshg8926
    @rishikeshg89266 ай бұрын

    Understood Thanks for this video bhai!

  • @kingbadshah452
    @kingbadshah4525 ай бұрын

    thanks for this lecture ,,,, understood everything

  • @m.swetha7340
    @m.swetha734016 күн бұрын

    Understood sir❤ plz make more videos it's really helpful sir🙏

  • @mrnobody4365
    @mrnobody4365Ай бұрын

    Understood. Thank you!

  • @waqas3051
    @waqas30513 ай бұрын

    Understood, Very well explained.

  • @harshitshrivastava9121
    @harshitshrivastava9121 Жыл бұрын

    thanks for making this playlist

  • @sagarkumawat2613
    @sagarkumawat2613 Жыл бұрын

    understood amazing explanation thankuuu sir

  • @ramraj72
    @ramraj72 Жыл бұрын

    So nice session bro..very well explained

  • @suchitpatel8700
    @suchitpatel87005 ай бұрын

    thanks brother, i understand everything..........

  • @Hipfire786
    @Hipfire7862 ай бұрын

    understood amazing video sir

  • @anishchhabra6085
    @anishchhabra60854 ай бұрын

    Understood, great lecture.

  • @andor_andor
    @andor_andor6 ай бұрын

    Great work, Striver. Best Free Resource

  • @ReNaq313
    @ReNaq3136 ай бұрын

    Amazing approaches 🔥🔥

  • @ArvindSingh-wj7vy
    @ArvindSingh-wj7vy3 ай бұрын

    Absolutely understood Stiver!💌

  • @kumaraditya7795
    @kumaraditya77959 ай бұрын

    Understood in a very good way

  • @gulabchandgupta5486
    @gulabchandgupta5486 Жыл бұрын

    Best sorting explanation bhaiya ever i seen love from jamshedpur🤩☺

  • @madhavagarwal9802
    @madhavagarwal98026 күн бұрын

    perfectly understood

  • @jinhuang7258
    @jinhuang725810 ай бұрын

    Understood. You are the best!

  • @kumpatisupriya3947
    @kumpatisupriya39476 ай бұрын

    Great explanation......clear cut explanation👏👏👏

  • @Enigma-fk7mh
    @Enigma-fk7mh3 ай бұрын

    Thanks i enjoyed & understand the complete lecture :)

  • @ummedchoudhary3977
    @ummedchoudhary39779 ай бұрын

    understood comfortably keep it up bro 💯

  • @gitikakhera6271
    @gitikakhera6271Ай бұрын

    understood very well

  • @Chandraprakash-kx4ic
    @Chandraprakash-kx4ic6 ай бұрын

    Understood everything. Thank You very much:)

  • @Sarjais_Raja
    @Sarjais_Raja8 сағат бұрын

    Amazing bro 🔥❤‍🔥

  • @AbhishekKumar-ep5uo
    @AbhishekKumar-ep5uo6 ай бұрын

    thankyou bhaiya for your tremendous effort for us

  • @MuralidharanR-hl7gt
    @MuralidharanR-hl7gt Жыл бұрын

    Understood, And big thanks for all the videos.

  • @ajeet.pratap.singh1
    @ajeet.pratap.singh128 күн бұрын

    Great work ❤️

  • @amareshghosh3502
    @amareshghosh35025 ай бұрын

    khub sundar, osadharon🙂

  • @user-mdaman
    @user-mdaman6 ай бұрын

    Thanks Bro, clearly understood.

  • @devangsharma7550
    @devangsharma755011 ай бұрын

    understood!! amazing...

  • @RKiNFo1237
    @RKiNFo1237 Жыл бұрын

    Thank you so much for your effort

  • @devmahad
    @devmahad2 ай бұрын

    Done - thanks

  • @yashsingavi5167
    @yashsingavi51676 ай бұрын

    understood. Thank you so much!!

  • @sakshamtyagi2969
    @sakshamtyagi29693 ай бұрын

    Completely Understood 👍

  • @Iqbal00123
    @Iqbal001237 ай бұрын

    Take love from Bangladesh.Understood everything