L-3.2: Performance of Quick Sort | Worst Case Time Complexity with Example | Algorithm

Поделиться
HTML-код
  • Опубликовано: 31 дек 2024

Комментарии • 141

  • @ayushshukla1579
    @ayushshukla1579 4 года назад +86

    i want to give this video infinity likes. college wale 1 sem me ye ni smjha pae

  • @mayurkalsekar524
    @mayurkalsekar524 4 года назад +14

    Kya baat hai sir ,Maza aa Gaya . Sir aap Hindi me samjhate ho to bahut accha samajta hai.

  • @shrutiambashtha6196
    @shrutiambashtha6196 4 года назад +44

    Finally!! I learnt quick sort properly!!🥰 Thank u sir♥️

  • @VideoLanxer
    @VideoLanxer 4 года назад +111

    Revision
    Best case and Average case's time complexity is N( Log N )
    Worst case time complexity is 0(n^2)

  • @sagarsamvedi7891
    @sagarsamvedi7891 3 года назад +86

    How many of you are watching just before exam

  • @lovekeshkaushik4518
    @lovekeshkaushik4518 3 года назад +14

    Finally I found quick short video which is most important on the earth 😁😁😁 nice explanation sir you are best ❤️❤️❤️ thankew for this kind of stuff

  • @montysinghsingh827
    @montysinghsingh827 5 лет назад +12

    Sir Very good Explanation i Did not get Bored when i study your lecture sir please can u also upload data structure and any programming language(c or java) tutorial it will help a lot

  • @somopattnaik1243
    @somopattnaik1243 6 месяцев назад

    00:02 Performance of quick sort depends on partition and pivot placement.
    01:24 Quick sort worst case time complexity is crucial for competitive exams
    02:37 Quick sort algorithm working with already sorted array.
    03:40 Initial pass of Quick Sort algorithm explained
    04:40 Explanation of partitioning in Quick Sort
    05:36 Worst case time complexity of Quick Sort
    06:34 Worst case of quick sort is O(N^2)
    07:24 Worst case time complexity of Quick Sort is O(N^2)

  • @muhammadsalmansaeed9255
    @muhammadsalmansaeed9255 5 месяцев назад

    didnt understood quick sort on my own, watched your video and now I can say, yess !! i know how to do it, Thanks for this amazing video !!!

  • @PrajapatKing098
    @PrajapatKing098 2 года назад +1

    Apka concept bahut mast hai sir ... samjhane ke liye

  • @nirahshaheen3994
    @nirahshaheen3994 3 года назад +1

    Great video, beautiful explanation Sir, thank you so much! :)

  • @dhruvilsolanki9887
    @dhruvilsolanki9887 2 года назад

    HE IS MENTOR OF ALL MENTORS

  • @Sweetoooths
    @Sweetoooths 2 года назад +1

    I never used to comment buy yes im doin this coz its really understandable and ez and quick thnx sir ❤️

  • @deepanshubhardwaj6951
    @deepanshubhardwaj6951 11 месяцев назад

    Sir thanks for sort message service for brain 👍🏻

  • @farukhshaik7991
    @farukhshaik7991 3 года назад +1

    Best explanation sir 😍😍

  • @sakshamrocks9517
    @sakshamrocks9517 4 года назад +4

    Sir, please Upload compliler design lectures also. It will going to help us a lot.

  • @crashycreator
    @crashycreator 7 месяцев назад

    this man is greater than all my university professors(teachers)

  • @sujeetsingh9838
    @sujeetsingh9838 3 года назад +1

    Helpful video sir🙏🙏🙏❤️

  • @adityak935
    @adityak935 4 года назад +3

    Best explanation of quick sort ever😭😭😭🙏

    • @HaniyaKhan-s4t
      @HaniyaKhan-s4t Месяц назад

      Tu isme rone ki kia bat hai???

    • @adityak935
      @adityak935 Месяц назад

      @HaniyaKhan-s4t yeh Khushi ke aansu hai !!

  • @rakshagupta1161
    @rakshagupta1161 11 месяцев назад +1

    Nice sir thanks a lot with great heartlly

  • @mayanksaxena6321
    @mayanksaxena6321 3 года назад

    finally, quick sort understood thank you, sir

  • @harwinsingh1747
    @harwinsingh1747 5 лет назад +13

    Thanks for covering all the subjects. Do you have any question bank available with you as well?

  • @vobensingh8404
    @vobensingh8404 Год назад +1

    Excellent 👍👍❣️❣️

  • @KajalSharma-lt3bq
    @KajalSharma-lt3bq Год назад +1

    Thank you so much sir 🙏😊

    • @noneed157
      @noneed157 Месяц назад

      No hay problema, es un placer
      Por favor, pregunte si tiene alguna consulta

  • @piyushanayak
    @piyushanayak 4 месяца назад

    Thankyou sir bhagwan apko khus rakhe🙏

  • @sehrishramzan1463
    @sehrishramzan1463 3 года назад

    Happy teacher day sir 🌸
    Love nd respect from Pakistan 🇵🇰❤️

  • @mohsinrahman4771
    @mohsinrahman4771 5 лет назад +1

    Bhaiya i am regular viewer, subscriber and sharer of all your videos..kindly upload videos of other subjects of computer science streams also. Thank you

  • @sougotasaha525
    @sougotasaha525 2 года назад +2

    Please explain with algorithms.. It will be then become easier to relate the working with algos.. otherwise very fine teaching

  • @rajeevvishwakarma0
    @rajeevvishwakarma0 4 года назад

    Thank you.. sir, aap bhut achaa padhate h..

  • @Poonamofficials
    @Poonamofficials 4 года назад

    Sir u made this concept very easy for us.... effective teaching

  • @purushkarlodhi4048
    @purushkarlodhi4048 4 года назад +1

    Tq sir
    Aapne bahut achhe se samjhaya

  • @smaxiso
    @smaxiso 4 года назад +2

    Sir it will be really great if there will be a playlist of "Algorithms"

  • @jaydeeplakhani729
    @jaydeeplakhani729 4 года назад

    Thank god 😌 i successfully learn how to solve worst case... Thank you very much

  • @golusahani9511
    @golusahani9511 Год назад +1

    Sir aap jio hazaro saal ye mare h aarzoo happy birthday to you🎉

  • @sairamdonthula7827
    @sairamdonthula7827 4 года назад +1

    Nice explanation bro

  • @rounak3239
    @rounak3239 5 лет назад

    Gurujee shandar jabardast zindabad

  • @abhi34776
    @abhi34776 2 года назад

    wahh sir.. crystal clear😘

  • @ankitmehta4133
    @ankitmehta4133 2 года назад

    Aey sir ji mouj kardi

  • @kewtomrao
    @kewtomrao 3 года назад +1

    Awesome explanation!!!

  • @it19manmohanyadav27
    @it19manmohanyadav27 3 года назад +2

    Thanks sir

  • @sayandey8787
    @sayandey8787 4 года назад +3

    sir please upload the video binary search, heap sort , merge sort divide and conquer approach and their complexity .

  • @IITMandi110
    @IITMandi110 4 года назад

    Love you sir , Thank-you ❤️

  • @arpanamahajan5115
    @arpanamahajan5115 5 лет назад

    Thanks for your hard work for us ... Sir

  • @naveendubey4412
    @naveendubey4412 4 года назад

    Excellent explanation sir

  • @shraddhaathani7353
    @shraddhaathani7353 3 года назад +1

    Amazing lecture ❤❤

  • @debashisganguly5863
    @debashisganguly5863 2 года назад

    Thank you so much,!! sir😍

  • @harini.a7934
    @harini.a7934 4 года назад +2

    Thank u sir this video gave me more clarification about quick sort..

  • @parneetkaur4444
    @parneetkaur4444 4 года назад +1

    thankuuuu☺☺

  • @SanketSharmasanket7317
    @SanketSharmasanket7317 6 месяцев назад +1

    awesome

  • @mehulmodi6194
    @mehulmodi6194 4 года назад

    awesome explanation

  • @saadatkhanniazi
    @saadatkhanniazi 8 месяцев назад

    Thank u so much sir 😊

  • @ZokhrafMalik
    @ZokhrafMalik Год назад

    sir with code smjhya keryin fr zaida achi smjh ayee gi 🥰

  • @JAYSREEBL
    @JAYSREEBL Год назад

    BESTTTTTT!! THANKS A LOT!!!

  • @niharikadama8485
    @niharikadama8485 3 года назад

    Gd explanation sir❤️

  • @pragyajais4645
    @pragyajais4645 4 года назад

    Awesome sir jiiii...

  • @vinitasingh1117
    @vinitasingh1117 5 лет назад

    Thank you sir, you are just awesome

  • @ShubhamMs-ms5qw
    @ShubhamMs-ms5qw 8 месяцев назад

    Hello Sir, aapki videos bhot aachi h or bhot aacha pdhate ho. Bs aapko ek feedback dena chata hu ki video me aapki sound thori echo ho rhi h. Vse agre phone me sunte h to tik h pr jb headphone pr sunte h to echo aa rhi h agr echo nh hogi to kafi aacha lgega

  • @GAU-C--RATNAKANTAHANSE
    @GAU-C--RATNAKANTAHANSE 3 года назад

    Thank you sir...

  • @animesh06
    @animesh06 Год назад +1

    Nice

  • @namitsharma3449
    @namitsharma3449 4 года назад

    Thanks sir g 👍

  • @uniquelivestreamer6484
    @uniquelivestreamer6484 4 года назад

    Thank you sir

  • @kr4k3nn
    @kr4k3nn 5 лет назад

    Thank you very much

  • @shubhammehta6239
    @shubhammehta6239 2 года назад

    Sir this is best or worst case complexity?
    As the video title it tells worst but u have explained best wala case

  • @development295
    @development295 Год назад

    Thank sir

  • @shishirsaurav6428
    @shishirsaurav6428 2 года назад

    bhai party 1 million

  • @nusratborsha3072
    @nusratborsha3072 5 месяцев назад

    best ❤

  • @mansikumari3917
    @mansikumari3917 Год назад +1

    Sir what about the best case

  • @dulamshiva5340
    @dulamshiva5340 4 года назад +1

    thank you very much for the detailed explanation can i solve the above equation with Masters theorem method... response is highly appreciated

  • @vishaljhaveri6176
    @vishaljhaveri6176 4 года назад +1

    Quick Sort worst case time complexity =O(n^2)

  • @jai63213
    @jai63213 3 года назад

    Please complete the playlist of daa

  • @shilpimalaiya8265
    @shilpimalaiya8265 2 года назад

    Thankuhh sir finally I got this concept

  • @minivashishta9288
    @minivashishta9288 5 лет назад

    thanks,sir

  • @kurapatiakhilkumar5314
    @kurapatiakhilkumar5314 4 года назад +3

    description box me toh nahi hai koi bhi link

  • @csea_37_shayoribhowmick53
    @csea_37_shayoribhowmick53 2 года назад

    Worst case time complexity of Quick sort O(n^2)

  • @yamisharma7226
    @yamisharma7226 5 лет назад

    Thnq sir

  • @322_pradiptachoudhury2
    @322_pradiptachoudhury2 4 года назад

    sir,please explain it by taking the last element as pivot

  • @TheIndian_22
    @TheIndian_22 3 года назад +1

    Sir , pseudo code bhi daal dete

  • @ManavPatel-vm6ms
    @ManavPatel-vm6ms 4 года назад

    Sir please add end screen in your videos.

  • @learningisfun3791
    @learningisfun3791 4 года назад +1

    Sir quick sort stable sort hai ya instable sort

  • @sandrasamuel2132
    @sandrasamuel2132 2 года назад

    Sir, if the array is scanned fully after each pass ,then it will be known that the array is sorted ,then the alorithm should be stopped..but why going to next pass? Please clear my doubt!!

  • @illustratorbasics9202
    @illustratorbasics9202 Год назад

    what if we select middle index as a pivot like we do in merge sort

  • @shikhanigam649
    @shikhanigam649 4 года назад

    How to choose pivot element and why we choose first element for pivot ..

    • @vashitvaraj8717
      @vashitvaraj8717 4 года назад

      The answer to your question is that why do we choose A as the first alphabet in English alphabet. In short it is more convenient.

  • @anjali_02
    @anjali_02 4 месяца назад

    Aree wah sir i love you

    • @noneed157
      @noneed157 Месяц назад

      Kia baat krty ho sir g

  • @lord_yzal
    @lord_yzal 2 года назад

    completed

  • @darshnadtak1765
    @darshnadtak1765 3 года назад

    could you please explain the Randomized quick sort?

  • @navneetkaur1239
    @navneetkaur1239 4 года назад

    sir exam ma average case sa hi solve kra quicksort ko tu koi prob tu nhi ha plz tell

  • @ShivamKumar-xm6vk
    @ShivamKumar-xm6vk Год назад

    Decreasing order k v bana dete n sir

  • @mohdhasanrizvi759
    @mohdhasanrizvi759 2 года назад

    Sir if q is equal to pivot element then what will we do ?

  • @placementseries8066
    @placementseries8066 3 года назад

    What is the formula for number of comparisons for sorted array in quick sort?

  • @rohitkumarrajoria6506
    @rohitkumarrajoria6506 3 года назад

    large number of elements k liye random element better hota h sir

  • @rohansaikia2651
    @rohansaikia2651 3 года назад

    sir please teach engineering mathematics!

    • @NarutoUzumaki-zv4wm
      @NarutoUzumaki-zv4wm 3 года назад

      NPTEL is the best resource, I got A+ at my university in mathematics

  • @ShivamKumar-mm5ff
    @ShivamKumar-mm5ff 21 день назад

    15 minutes before exam 😎

  • @muskangupta680
    @muskangupta680 3 года назад

    What is recurrence relation

  • @vandanabansal690
    @vandanabansal690 4 года назад

    👌👌👌

  • @sheezanawaz476
    @sheezanawaz476 4 года назад

    Please gives lecture on pseudo code.

  • @JonesSmiraj5626
    @JonesSmiraj5626 3 года назад

    Sir can you please help me with this sorting , using quick sort 9,15,10

  • @musicalworld.7322
    @musicalworld.7322 28 дней назад +1

    5 hr before exams

  • @virajthakur4068
    @virajthakur4068 4 года назад

    For extc students there is any gate channel
    ?

  • @Jutti___12
    @Jutti___12 19 дней назад +1

    10 mints before ppt 😅😂

  • @ankitamadiwal7306
    @ankitamadiwal7306 4 года назад

    Sir what if " p(infinity)

    • @hiramalik3057
      @hiramalik3057 4 года назад

      infinity could not be less than pivot. because pivot is a fixed number and infinity is used for the purpose to stop at the condition p(infinity)>pivot always as infinity could not be less than a fixed number.
      In this case if p and q is crossed q and pivot will be interchanged.

    • @ankitamadiwal7306
      @ankitamadiwal7306 4 года назад

      @@hiramalik3057 thank you I got it very well