Quick sort example | Divide & Conquer | Data Structures | Lec-61 | Bhanu Priya

  Рет қаралды 136,395

Education 4u

Education 4u

Күн бұрын

Пікірлер: 54
@subhasishbhowmick8912
@subhasishbhowmick8912 3 жыл бұрын
Wonder why quick sort is referred as quick🤔
@anasmir2315
@anasmir2315 2 жыл бұрын
Haha same here
@kannadainfo7164
@kannadainfo7164 2 жыл бұрын
Same here
@anasarshad3453
@anasarshad3453 2 жыл бұрын
@@anasmir2315 same here in summers
@Chidambarckulkarni
@Chidambarckulkarni Жыл бұрын
Even I as so complex
@naninani7109
@naninani7109 11 ай бұрын
Because it's not a quickest algorithm to learn
@najafabbas5964
@najafabbas5964 2 жыл бұрын
mam your method of teaching is so good
@marlapudimanoj8668
@marlapudimanoj8668 4 жыл бұрын
Nice explaining
@eswarsai5312
@eswarsai5312 3 жыл бұрын
Tnq mam
@muskpline202
@muskpline202 Жыл бұрын
Padhana nai aata to kyu aate ho exam se pehle ka time waste karne ....faltu panti ki he algorithm and example dono me .... successfully wasted my time before exam ! 😔
@babjssk
@babjssk 4 жыл бұрын
Fee university me deta hu aur knowledge yha se thx
@anasmir2315
@anasmir2315 2 жыл бұрын
Thanks
@kallurishyamsundhar7195
@kallurishyamsundhar7195 3 жыл бұрын
actually we move the left but after some steps u have started to move right why that thing happen
@tundergamers6364
@tundergamers6364 2 жыл бұрын
Mam please 🙏 use board mam don't waste paper 🙏🙏
@MrAditya-xm1pn
@MrAditya-xm1pn Жыл бұрын
this is amazing how easily you describe thanks for your help.
@marlapudimanoj8668
@marlapudimanoj8668 4 жыл бұрын
Why did u take right bound to left bcz its higher did u take like that mam
@princysingh6916
@princysingh6916 Жыл бұрын
Same question
@rajanikour1818
@rajanikour1818 Жыл бұрын
Neeche diya gaya hai Quick Sort algorithm ka ek example Hindi mein: Sochiye humare paas ye list hai: [6, 8, 3, 9, 2, 5] Kadam 1: Ek pivot element chunein (is case mein, aakhri element 5 chunte hain). Kadam 2: Pivot ke aas paas list ko partition karein. Pivot se chote sabhi elements ko pivot ke baayein aur pivot se bade sabhi elements ko pivot ke daayein shift karein. Partitioning Kadam: [2, 3, 5, 9, 8, 6] Kadam 3: Quick Sort algorithm ko recursive tareeke se pivot ke dono taraf wale sublist par lagu karein. Baayein wala sublist: [2, 3] Daayein wala sublist: [9, 8, 6] Baayein wale sublist aur daayein wale sublist ke liye Kadam 1-3 ko phirse repeat karein. Baayein wale sublist ke liye: Ek pivot element chunein (is case mein, pehla element 2 chunte hain). Partitioning Kadam: [2, 3] Baayein wala sublist pehle se hi sorted hai kyunki usmein sirf ek element hai. Daayein wale sublist ke liye: Ek pivot element chunein (is case mein, aakhri element 6 chunte hain). Partitioning Kadam: [6, 8, 9] Daayein wala sublist pehle se hi sorted hai kyunki usmein teen elements hai. Kadam 4: Sorted sublists ko combine karein. Sorted list unsorted baayein wale sublist, pivot element, aur unsorted daayein wale sublist ko jodkar banai jati hai. Result: [2, 3, 5, 6, 8, 9] Quick Sort ka istemal karke sorted list banegi [2, 3, 5, 6, 8, 9]. Quick Sort mein mukhya tatva hai pivot element chunna, partitioning karna aur fir us partition ko recursively sublist par lagana, jab tak puri list sort hojaye. Quick Sort ka fayda hai ki iska average-case time complexity O(n log n) hota hai aur ye in-place sorting hai, matlab iske liye alag se memory ki zaroorat nahi hoti hai. Halaanki, Quick Sort ka worst-case time complexity O(n^2) ho sakta hai agar pivot selection sahi nahi hai, jiski wajah se kuch scenarios mein inefficient sorting ho sakti hai. Mujhe ummeed hai ki ye example aapko Quick Sort algorithm samajhne mein madad karega. Agar aapke paas koi aur sawal hai toh zaroor puchiye!
@yaardixit9809
@yaardixit9809 11 ай бұрын
thanks bhai ye mast tha ye apne class ke sabhi bacho ko dikhaunga it will help them for sure😂💗
@yaardixit9809
@yaardixit9809 11 ай бұрын
substitution method ka kr skte ko?
@nipendersingh3062
@nipendersingh3062 3 жыл бұрын
madam suhagraat ke turant baad start kar diya kiya?
@yellasirimadhusmitha2796
@yellasirimadhusmitha2796 3 жыл бұрын
Really it helped me a lot for examination mam.. Thank you mam
@jaikrish50
@jaikrish50 5 жыл бұрын
Mam ur class and your Mehdi very nice
@madhumadapala5686
@madhumadapala5686 4 жыл бұрын
Onces you have shown your face
@JavaAidTutorials
@JavaAidTutorials 5 жыл бұрын
Nice video
@Safal_here
@Safal_here 10 ай бұрын
you are teaching in wrong way must shift right pointer too
@roshnimansore3581
@roshnimansore3581 4 жыл бұрын
mem partition ka algorithm kaha he please mem uska bhi algorithm banaiye
@prakashconsultancy
@prakashconsultancy 3 жыл бұрын
in 3 case if p less than l what we have to do
@anushakakinada3372
@anushakakinada3372 3 жыл бұрын
Nice xplaination😄😇mam
@pavanipavani9430
@pavanipavani9430 4 жыл бұрын
Thank u mam for giving nice explanation
@shubhamchaturvedi-z8r
@shubhamchaturvedi-z8r 11 ай бұрын
Ma'am kab left se compare karna hai kab right se samajh nahi aa raha hai
@visweshkumar1432
@visweshkumar1432 4 ай бұрын
Nice explanation mam keep going...😊🤗
@revathiselvaraj2087
@revathiselvaraj2087 4 жыл бұрын
Mam it's nice ......
@menapatigowrishankar6236
@menapatigowrishankar6236 4 жыл бұрын
Madam nice expalnation.but you no need to say sorry some mistakes we can while solving
@babjssk
@babjssk 4 жыл бұрын
Right
@vijayad8119
@vijayad8119 4 жыл бұрын
Nice explanation mam
@gangaj4042
@gangaj4042 4 жыл бұрын
thank you so much
@YilkalTefera
@YilkalTefera Жыл бұрын
why your hand is overcolored?
@patelvraj1362
@patelvraj1362 3 жыл бұрын
thank you for sharing your experience with us
@HemanthKumar-yk8iy
@HemanthKumar-yk8iy 4 жыл бұрын
Thanks
@oldspiritualsongs2055
@oldspiritualsongs2055 3 жыл бұрын
thanks
@kutarevijay6569
@kutarevijay6569 4 жыл бұрын
mam I saw vedio to see ur mehndi design
@subhasishbhowmick8912
@subhasishbhowmick8912 3 жыл бұрын
Legend spotted😂
@rameshnaniify
@rameshnaniify 2 жыл бұрын
Nice explanation
@areya11k7
@areya11k7 3 жыл бұрын
Mai kya thekhu yaar lecture ya #mehdi. ...
@rimpa3026
@rimpa3026 3 жыл бұрын
Thank u mam
@dadiarun6385
@dadiarun6385 2 жыл бұрын
Tqq mam
@shetty5121
@shetty5121 Жыл бұрын
How u took pivot?
@yaardixit9809
@yaardixit9809 11 ай бұрын
there are two best ways we can pick pivot 1st one is by selecting middle element of an array as an pivot 2nd one is by selecting random element of an array as an pivot .
@shailendraverma1808
@shailendraverma1808 3 жыл бұрын
this is wrong, how would you apply this for 5,40,10,20
@SurajMaurya-qt7ns
@SurajMaurya-qt7ns 3 жыл бұрын
wowwhh ma’am apne mendhi lagai h 😱😱😂😂
@AkashdeepDam
@AkashdeepDam 4 жыл бұрын
Very beautiful mehndi, mam... Nice explanation...😊
What is Hashing | Data Structures | Lec-62 | Bhanu Priya
3:17
Education 4u
Рет қаралды 137 М.
БЕЛКА СЬЕЛА КОТЕНКА?#cat
00:13
Лайки Like
Рет қаралды 2,5 МЛН
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 96 МЛН
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,5 МЛН
2.8.1  QuickSort Algorithm
13:43
Abdul Bari
Рет қаралды 3,2 МЛН
quicksort example step by step|quick sort example solved
10:21
Sudhakar Atchala
Рет қаралды 172 М.
Merge sort example | Design & Algorithms | Lec-16 | Bhanu Priya
6:27
7.6 Quick Sort in Data Structure | Sorting Algorithm | DSA Full Course
24:43
Jenny's Lectures CS IT
Рет қаралды 2,6 МЛН
Hashing Algorithms and Security - Computerphile
8:12
Computerphile
Рет қаралды 1,5 МЛН
Top 7 Algorithms for Coding Interviews Explained SIMPLY
21:22
Codebagel
Рет қаралды 395 М.