Quick Sort Algorithm | Divide and Conquer | GATECSE | DAA

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • quick sort in data structure || quick sort time complexity || quicksort algorithm divide and conquer || quick sort by divide and conquer || quicksort concept || quicksort complexity || quick sort algorithm in daa || quick sort algorithm || quick sort and merge sort || quick sort best case complexity || how does quicksort work || divide and conquer || quicksort algorithm || algorithm || quicksort || dsa interview questions || daa interview || algorithm interview || dsa interview || quicksort in daa || the gatehub
    Description:
    Quicksort is a widely used sorting algorithm that uses the divide and conquer approach to sort an array of n elements. This algorithm involves dividing the array into two sub-arrays, with each element in the left sub-array being less than or equal to the pivot element and each element in the right sub-array being larger than the pivot element. The sub-arrays are then recursively sorted using Quicksort. The sorted array is then combined. Quicksort picks an element as the pivot and partitions the array around it. This process involves dividing the large array into two sub-arrays, one holding values smaller than the specified pivot and another holding values greater than it. The sub-arrays are then partitioned using the same approach until only one element remains in the sub-array.
    🔍 Topics Covered:
    1️⃣ Introduction to Quick Sort
    2️⃣ How Quick Sort works - Divide and Conquer
    3️⃣ Choosing the Pivot: Strategies and Impact
    4️⃣ Partitioning: Sorting the Elements
    5️⃣ Time Complexity Analysis
    6️⃣ Practical Implementation Tips
    7️⃣ Comparisons with other Sorting Algorithms
    Contact Details (You can follow me at)
    Instagram: / thegatehub
    LinkedIn: / thegatehub
    Twitter: / thegatehub
    ...................................................................................................................
    Email: thegatehub2020@gmail.com
    Website: thegatehub.com/
    ...................................................................................................................
    📚 Subject Wise Playlist 📚
    ▶️Data Structures: tinyurl.com/bwp...
    ▶️Theory of Computation: tinyurl.com/5bh...
    ▶️Compiler Design: tinyurl.com/2p9...
    ▶️Design and Analysis of Algorithms: tinyurl.com/ywk...
    ▶️Graph Theory: tinyurl.com/3e8...
    ▶️Discrete Mathematics: tinyurl.com/y82...
    #quicksortexample
    #quicksortindatastructure
    #quicksorttimecomplexity
    #quicksortalgorithmdivideandconquer
    #quicksortbydivideandconquer
    #quicksortconceptindaa
    #quicksortcomplexity
    #quicksortalgorithmindaa
    #quicksortalgorithm
    #quicksortandmergesort
    #quicksortbestcasecomplexity
    #howdoesquicksortwork
    #divideandconquer
    #quicksortalgorithm
    #quicksort

ความคิดเห็น • 40

  • @thescienceindia1947
    @thescienceindia1947 ปีที่แล้ว +4

    Kya padate hoo sir, concept ekdam Cristal clear hoo jata hai... ❤❤❤

  • @suhaillone831
    @suhaillone831 8 หลายเดือนก่อน +5

    Why this channel is so underrated?

  • @riteshtiwari7657
    @riteshtiwari7657 6 หลายเดือนก่อน +1

    nice after searching many videos i found the clear concept

  • @anilrathore.bigthink
    @anilrathore.bigthink ปีที่แล้ว +3

    Thank you sir, Well Explained !

  • @sudiksha586
    @sudiksha586 ปีที่แล้ว +1

    truly wonderful explanation sir

  • @rahul_singh_rajput3292
    @rahul_singh_rajput3292 2 ปีที่แล้ว +2

    Sir mathmatics for competative ptogramming video bna dijiye aap bhut acha explain krte ho🤠🤠

  • @katw434
    @katw434 ปีที่แล้ว +1

    gajjab padaya sir

  • @shloklaadoo
    @shloklaadoo ปีที่แล้ว +1

    clear ho gaya sir. thank you : )

  • @user-kh1oy7yb2b
    @user-kh1oy7yb2b 3 หลายเดือนก่อน

    keep it up

  • @codersakban
    @codersakban 10 หลายเดือนก่อน

    Thanku sir best explanation🙌🎉

  • @vivekpatel3253
    @vivekpatel3253 ปีที่แล้ว

    Wow very esay explain

  • @uroobashahid8037
    @uroobashahid8037 ปีที่แล้ว

    the best so far

  • @kamyagupta4030
    @kamyagupta4030 ปีที่แล้ว +1

    Thank you so much ❤

  • @Dipshikhakumari01
    @Dipshikhakumari01 11 หลายเดือนก่อน

    Very usefull video thankyou sir

  • @sagarshekhar6296
    @sagarshekhar6296 5 หลายเดือนก่อน +1

    arey itna crystal clear mat kiya karo sir.....nazar lag jayegi......😊

  • @tejaskuwar2231
    @tejaskuwar2231 2 หลายเดือนก่อน

    Thanks sir

  • @__harshchaturvedi_3931
    @__harshchaturvedi_3931 ปีที่แล้ว

    Crystal clear

  • @azeemahmed6469
    @azeemahmed6469 ปีที่แล้ว +1

    🔥🔥🔥🔥🔥🔥🔥

  • @md.nuruzzaman8883
    @md.nuruzzaman8883 3 หลายเดือนก่อน

    love vai

  • @cricket-sb7qr
    @cricket-sb7qr ปีที่แล้ว

    good explanation

  • @SEENUNAIN
    @SEENUNAIN ปีที่แล้ว

    Very nice

  • @jma3104
    @jma3104 3 วันที่ผ่านมา

    i think this is lumoto partition not hoare partition

  • @haseebasif100
    @haseebasif100 ปีที่แล้ว

    amazing

  • @SagarAngarakh
    @SagarAngarakh หลายเดือนก่อน

    Sir bolne ki speed thodi kam kare😊 baki sub perfect

  • @daxeshsoni3838
    @daxeshsoni3838 ปีที่แล้ว

    👍

  • @sailaxman5206
    @sailaxman5206 ปีที่แล้ว +7

    The mentioned logic is absolutely wrong. Please check once

    • @_Prit_Patel_
      @_Prit_Patel_ 6 หลายเดือนก่อน

      Yes , i was totally confused 😕, then I realised it is wrong algo🫨

    • @arnobsaha7071
      @arnobsaha7071 4 หลายเดือนก่อน

      ​@@_Prit_Patel_ But how

    • @afraarif243
      @afraarif243 4 หลายเดือนก่อน

      What was wrong. Can you pls point it out. Mera exam hai aaj😅

  • @chandanmishra5119
    @chandanmishra5119 6 หลายเดือนก่อน

    Sir but ye logic work nhi kar rha hai

  • @saitejaswinib
    @saitejaswinib ปีที่แล้ว

    Kal exam hai sir

  • @shriprakashjha3206
    @shriprakashjha3206 8 หลายเดือนก่อน

    If first j is smaller then pivot than how you would increment the i first and then swap (i, j )
    This will destroy your logic.

    • @mahamedmohiburreheman8286
      @mahamedmohiburreheman8286 7 หลายเดือนก่อน +1

      bkl

    • @THEGATEHUB
      @THEGATEHUB  7 หลายเดือนก่อน

      i did't get your doubt. Did i Explain anything wrong. could you please explain little bit with the timeline of vedio

    • @RandomMan271
      @RandomMan271 6 หลายเดือนก่อน

      @@THEGATEHUB take 8,5,6,2,10 and solve it please

    • @deepakbhatta8435
      @deepakbhatta8435 4 หลายเดือนก่อน

      @@RandomMan271 in that case 5

  • @saeedsharif2463
    @saeedsharif2463 ปีที่แล้ว +2

    Bakwasss explaination

    • @xioqipen9090
      @xioqipen9090 ปีที่แล้ว +5

      So why r u watching this video....just go and watch others videos but please stop commenting like this (-ve comments)

  • @programmingwhorl4225
    @programmingwhorl4225 8 หลายเดือนก่อน

    sir ky ye logic sahi hai ??