Quick Sort Algorithm | How Quick Sort Works (Example Diagram) | Part - 1 | Sorting Algorithms - DSA

  Рет қаралды 66,054

Simple Snippets

Simple Snippets

Күн бұрын

Пікірлер: 159
@mansigoyal3440
@mansigoyal3440 4 жыл бұрын
This channel should be first recommendation on youtube for DSA
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Hehehe thanks Mansi, you have always been very supportive 🙏
@sushilingole8448
@sushilingole8448 3 жыл бұрын
Indeed
@jaiminrathwa6393
@jaiminrathwa6393 3 жыл бұрын
true 👍👍👍👍
@riyadhossain1706
@riyadhossain1706 Жыл бұрын
I really appreciate the effort you have done. Even after 3 years, your tutorials are still worthy.
@sourabh1483
@sourabh1483 3 жыл бұрын
This is the best quick sort video i found on youtube.
@freenox1797
@freenox1797 Жыл бұрын
Masha'Aallah, That's literally perfect explanation, thank you.
@NetajiSaiSuru
@NetajiSaiSuru 2 жыл бұрын
Very Detailed Explanation Thank you so much ❤
@pradhumansingh3933
@pradhumansingh3933 Жыл бұрын
Thank u for clearing all my doubts...Detailing at its best👍👍
@ahmadbilal9363
@ahmadbilal9363 4 жыл бұрын
The fact that you only get a handful of views and still you are making tutorials for that audience makes me your fan more than a student. Thanks Sir❤ Love and respect from Pakistan❤
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thanks Ahmad, really glad to read such wonderful comment from you. And yes I will keep making tech ed content for everyone for free 🙂 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@talhahassan724
@talhahassan724 11 ай бұрын
Sir your dry run is just absoulety amazing. Amazing content . I understand every bit of it. Thank you
@CricketLover-kc6ln
@CricketLover-kc6ln 4 жыл бұрын
Best Content For DSA .Don't Understand Why This Channel Is So Underrated 😯 Anyways Keep It Up Sir 💪
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thank you so much buddy. Glad to know this!
@brandonlind5700
@brandonlind5700 2 жыл бұрын
great video! Took a complex concept and made it simple to understand
@anilkumarambati3729
@anilkumarambati3729 Жыл бұрын
You have made it seem very easy with your explanation...kudos to your efforts... keep continuing your good work brother 💗
@emmanuelsanchez7662
@emmanuelsanchez7662 4 жыл бұрын
Top in-depth video I’ve seen in DSA. Definitely looking forward to see more! Thanks!!
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Awesome, thank you!
@zanderclaassen9472
@zanderclaassen9472 4 жыл бұрын
mate you explain stuff so well, I like the fact that you break stuff down step by step, great video's..best I've seen so far
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
I appreciate that! Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@weijunhuang8306
@weijunhuang8306 Жыл бұрын
really detail explaination step by step, appreciate the work
@vedantbhugul5264
@vedantbhugul5264 4 жыл бұрын
great explanation "HATS OFF TO YOU SIR ".
@samarthtandale9121
@samarthtandale9121 3 жыл бұрын
Extremely easy to understand and excellent video! You are literally saving lives🔥🙌🏼❤️👍🏼
@veenaas4837
@veenaas4837 3 жыл бұрын
Explanation is very good, easily understandable.
@dushyantjakhar1716
@dushyantjakhar1716 3 жыл бұрын
bro i love you you teaching skills are in top on whole internet
@dushyantjakhar1716
@dushyantjakhar1716 3 жыл бұрын
I watched also expert and its nothing in front of you
@AhmedAdel-xg1cm
@AhmedAdel-xg1cm 3 жыл бұрын
the way of ur explanation is beyond imagination, thank u soooooooo mush u make complex things very very easy :)
@rushikeshthombre7533
@rushikeshthombre7533 3 жыл бұрын
Bro I haven taken course at upgrad I does not understand there But when I see your video I get perfect understanding Bro take session on interview questions for entry level It will also get positive impact
@shanmugamayanm7430
@shanmugamayanm7430 Жыл бұрын
your explanation is god level bro.. Thank you so much❤❤❤❤
@SimpleSnippets
@SimpleSnippets Жыл бұрын
So nice of you :-)
@anshipatel9703
@anshipatel9703 3 жыл бұрын
After watching one video I'm here to watch the whole playlist👍👍❤
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
Welcome to Simple Snippets 🤘🙌❤️
@bhavansbhavans9299
@bhavansbhavans9299 2 жыл бұрын
Super easy !!! Only because of your explanation
@anshmishra9079
@anshmishra9079 4 жыл бұрын
Bro I am very glad that I got your video suggestion for this quick sort, I was like searching here and there but didn't got any perfect explanation.... But perfection defines YOU...... 🌈🙏 Great man, please keep it up.
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Glad to hear that Ansh! please support me by sharing our videos and channel with your friends!
@harshalsangame1305
@harshalsangame1305 2 жыл бұрын
I liked this video and now Likes become 1000, thank you
@giggleglyphs
@giggleglyphs 3 жыл бұрын
I could not stop myself commenting on your every video because I feel grateful to you when i understand a concept :)))
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
Hehe all your comments are highly appreciated and welcomed 😊🤘 I'm glad that these videos are making you understand the DSA concepts. I request you to please keep sharing them with your friends and batchmates ✌️
@giggleglyphs
@giggleglyphs 3 жыл бұрын
@@SimpleSnippets I have already shared this playlist with all my friends😹
@albertdavidbangura7271
@albertdavidbangura7271 2 жыл бұрын
You are great sir! Thank you.
@varunsaketh4430
@varunsaketh4430 3 ай бұрын
every minute spent was worth it
@SimpleSnippets
@SimpleSnippets 3 ай бұрын
Glad to know Varun 🙏😊
@fridy-bgmi
@fridy-bgmi 2 жыл бұрын
Thank you so much.. Your Dry Run was so easy to understand.. 🙌🏻 🤜🏻
@aishu812
@aishu812 3 жыл бұрын
I fall in love with ur channel 💓....u r making the root strong...that is what needed in dsa
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
Thank you so much😊 very happy to read this feedback from you. Please keep sharing✌️
@aishu812
@aishu812 3 жыл бұрын
@@SimpleSnippets sure
@improveyourknowledge6590
@improveyourknowledge6590 2 жыл бұрын
your explanation is awesome!
@gugasamukashvili4947
@gugasamukashvili4947 3 жыл бұрын
your vids help me so much,
@francesco4433
@francesco4433 Жыл бұрын
thank you very much that was helpful. god bless you
@naviyas2305
@naviyas2305 2 жыл бұрын
thanks alot bro..you're the best
@gurmansingh1878
@gurmansingh1878 3 жыл бұрын
Hats off to you sir..... Great Explanation
@peareaml1782
@peareaml1782 7 ай бұрын
Clear explanation and nice work though! Thank you!
@dishanamdev2620
@dishanamdev2620 4 жыл бұрын
Speechless explanation👏 Thanku very much. Really you put so much efforts in explaining... It's like stupendofantabulousfantastic🙌
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thank you so much Disha for such a wonderful comment😀 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@sushilingole8448
@sushilingole8448 3 жыл бұрын
Very deep explanation, what I usually need, you caught my attention bro, awesome work... 👍
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
Glad it was helpful! Thank you so much buddy. It would mean a lot if you could please share our channel and videos with your friends too ✌
@rathoddharmik610
@rathoddharmik610 2 жыл бұрын
such e great explanation 🙂🙂thanks brother.
@saranyav2867
@saranyav2867 Жыл бұрын
Really amazing explanation
@AbdulxamidFayziev
@AbdulxamidFayziev Жыл бұрын
you should run for loop till 4 " I < end "
@MadMax-pk8ss
@MadMax-pk8ss 2 жыл бұрын
Another great video! I think fully utilizing the available technology that is out there would really enhance your presentations. The detail in explaining concepts is among the best, however, as you mentioned in the video yourself, at times the visual presentation is quite messy. I feel this could be greatly improved by experimenting with different educational software tools and techniques.
@abinaya7704
@abinaya7704 4 жыл бұрын
wow I recommended ur channel to many ppl..Such an awesome channel for learning programming concepts..Hats off bro
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Awesome, thank you!
@nabinpanthi5434
@nabinpanthi5434 3 жыл бұрын
never seen anyone explaining like this. cout
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
I'm glad you liked it. cout
@asgaming-ns2qn
@asgaming-ns2qn 3 жыл бұрын
Bro tanmay your explanation is so good, We understand the entire algo just with the first pass of dry run. my mind say lets code it but yet watching completely for accuracy : )
@shailajareddy1423
@shailajareddy1423 4 жыл бұрын
simplified and good explanation...
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Glad you liked it ✌ Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@tahirmahmood1721
@tahirmahmood1721 4 жыл бұрын
@@SimpleSnippets Describe precisely the pivot step of QuickSort, using the median-of-three method for pivot selection, and show every stage of the rst pivot step applied to the array with the following entries: 3; 4; 7; 1; 2; 6; 5
@Kidpunk98
@Kidpunk98 3 жыл бұрын
What a legend, wow.
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
Thanks buddy 😊🤘
@masumali8356
@masumali8356 2 жыл бұрын
You are the best.....masum
@rachanasr7547
@rachanasr7547 4 жыл бұрын
Excellently explained 😎
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Glad it was helpful!
@swarajchoudhary1862
@swarajchoudhary1862 3 жыл бұрын
20:41 -> 3 and 9 will swap each other as pindex is previously increased from 0 to 1
@behindthescene4406
@behindthescene4406 3 жыл бұрын
First swapping is done then index got incremented therefore 7 and 3 got swapped
@goktugkoksal8643
@goktugkoksal8643 3 жыл бұрын
Thats what I was searching for
@whatdoiputhere5089
@whatdoiputhere5089 3 жыл бұрын
dude, you video should be on top when searching for quick sort. I dont understand how the youtube algorithm is not putting this video at the top
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
Yeah even I don't understand how it works but I think it's more on users who watch it and like & comment then on me. Hopefully it'll go up on the ranking 🙌😊
@gopavaramsaimadhuree520
@gopavaramsaimadhuree520 4 жыл бұрын
very good explanation. very easy to understand 👌👍
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thank you so much buddy🙏 Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇
@shaharrefaelshoshany9442
@shaharrefaelshoshany9442 3 жыл бұрын
you are the best ever
@Yunyopern
@Yunyopern 3 жыл бұрын
Great teachings my friend keep it up
@maryammahtab7886
@maryammahtab7886 4 жыл бұрын
This video make the algoritm very easy
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thanks buddy! Please do share the videos and our channel with your friends if you want to genuinely support me & our channel!✌😇
@maryammahtab7886
@maryammahtab7886 4 жыл бұрын
I’m facing a little error in that and unable to fix . Can u plz help me?
@pvj7398
@pvj7398 3 жыл бұрын
Very nice explaination brother...
@tushar.musique
@tushar.musique 3 жыл бұрын
Thank you sir!, Really Really helpful.
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
Most welcome!
@bodlahruthik5730
@bodlahruthik5730 4 жыл бұрын
@Simple Snippets , sir definition of time comlexity itself says that it it the mathematical type of expression to show time consumption of that algorithm at its worst case,then why there are time complexitites for best performances ,average performances, and worst performances .
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thats because in some cases, the time complexities of best case, avg case and worst case follow different mathematical expression.
@bodlahruthik5730
@bodlahruthik5730 4 жыл бұрын
@@SimpleSnippetsoh thank u sir
@ankursingh-ej1wi
@ankursingh-ej1wi 2 жыл бұрын
Best explanation sir
@ankursingh-ej1wi
@ankursingh-ej1wi 2 жыл бұрын
Sir if possible pls make a series of coding interview problems
@SimpleSnippets
@SimpleSnippets 2 жыл бұрын
Yeah I plan to do that after DSA playlist
@manaspatil4316
@manaspatil4316 3 жыл бұрын
plz make video on Graph data structure ... and also on file organization ..these are the only topics remained in DSA .....& BTW Huge salute to you for all uploaded videos..Love from DHULE,Maharashtra !!!
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
As soon as possible
@sujithk9811
@sujithk9811 3 жыл бұрын
Excellent explanation💯
@hemamatli8726
@hemamatli8726 4 жыл бұрын
Super explanation plzzz make more videos
@kumkumjain7588
@kumkumjain7588 3 жыл бұрын
best explanation 😊
@expert77
@expert77 10 ай бұрын
Thanks sir ❤
@sharifullahdanish4480
@sharifullahdanish4480 3 жыл бұрын
thank you for the effort to show us the entire working of the quick sort, one question is: Does the quick sort algorithm and code varies for the odd and even values of the given array to be sorted? on my opinion, yes, it does vary for the odd & even values but can't make any equation for it...
@LeAndre_deCorrypeuxdiz
@LeAndre_deCorrypeuxdiz 2 жыл бұрын
you are the best understanding from all the others channel algorithms when i win lottojackpot euromillions i send you 30000eur
@SimpleSnippets
@SimpleSnippets 2 жыл бұрын
Thank you so much Andre ✌️ hope you win the lotto jackpot very soon 😂🤘
@xenoragami
@xenoragami 2 жыл бұрын
you just helped me ! thnx .
@DreamQuestGamer
@DreamQuestGamer 3 жыл бұрын
Quicksort is an in-place sorting algorithm,it is ok. but we can make merge sort also an in-place algorithm, which means without taking another temporary array we can sort an array using mergeSort algo. correct me if I am wrong.
@bikramchettri9405
@bikramchettri9405 4 жыл бұрын
Awesome content!
@amitpaunikar3408
@amitpaunikar3408 4 жыл бұрын
Nice explanation....missing heap sort Algorithm...searched but not got in ur playlist
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
After we understand heap data structure ✌️ starting with Non linear DS soon. Stay tuned 😁
@amitpaunikar3408
@amitpaunikar3408 4 жыл бұрын
@@SimpleSnippets will wait for heap sort video bcoz no good video in KZbin as after watching ur video no need to watch other videos ....still lot of video remaining to see from ur playlist...ur doing great job bro...u have very good knowledge... keep it up.
@irfankhan7822
@irfankhan7822 3 жыл бұрын
well explained
@074vinaysuyal3
@074vinaysuyal3 4 жыл бұрын
Thank you, really helpful
@ashutoshsahoo8076
@ashutoshsahoo8076 3 жыл бұрын
tanmay sakpal == GOD
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
Haha thank you 😅
@ashutoshsahoo8076
@ashutoshsahoo8076 3 жыл бұрын
Bro u should create a telegram channel so that we can connect with u and get updates about ur upcoming videos(just a suggestion 😅)
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
Yeah I've been thinking about it since long time. Maybe a discord server might work too. However I don't think I'll be able to actively manage it that well. Let's see ✌️
@subhamgupta4182
@subhamgupta4182 Ай бұрын
thankyou very much
@snr-u6h
@snr-u6h 2 жыл бұрын
Thank you so much!!!!
@vinit1366
@vinit1366 3 жыл бұрын
Great Video ❤️
@ManishSharma-fi2vr
@ManishSharma-fi2vr 2 жыл бұрын
Thank You!
@Hizzus
@Hizzus 2 жыл бұрын
awesome thanks alot !
@kandikantikarthikeyagoud1689
@kandikantikarthikeyagoud1689 4 жыл бұрын
good explanation bro
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Glad you liked it
@nagendrapp2213
@nagendrapp2213 4 жыл бұрын
Nice keep upload more videos as soon as possible
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Yes buddy, try to put out as much content as possible. Please do share the videos with your friends too & definitely subscribe ✌
@vaishnavibangar7423
@vaishnavibangar7423 2 жыл бұрын
cannot get rid of ross yelling PIVOTT PIVOTTTT while watching this xD
@prateekgautam37
@prateekgautam37 4 жыл бұрын
bht accha padhte ho sir opps ka thoda sa videos shi se smjhna hai
@rashisingh5994
@rashisingh5994 4 жыл бұрын
So helpful! 🔥
@gokulnaathb2627
@gokulnaathb2627 3 жыл бұрын
It was so good, the best
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
I'm glad you liked it ✌️ please do share it with your friends too 😊
@ElifArslan-l9g
@ElifArslan-l9g 2 жыл бұрын
you are amazing
@santhoshm.r.s2383
@santhoshm.r.s2383 Жыл бұрын
Why quick sort is getting very slow when a list of elements more than 10000 is passed? ,I thought it was due to recursion but merge sort on other hand uses recursion but sorts the list(elements>10000) 4times faster than quick sort (quick sort took 45+ min ,but merge sort took 8 to 9 sec) Can u please explain why this happens ,even if both uses similar kind of approach and methods
@abrarvlogs6931
@abrarvlogs6931 3 жыл бұрын
Legend ❤
@bhavyaaggarwal8558
@bhavyaaggarwal8558 4 жыл бұрын
plz make a video on randomized quick sort also
@ansariaasif9596
@ansariaasif9596 3 жыл бұрын
thanks sir
@ElifArslan-l9g
@ElifArslan-l9g 2 жыл бұрын
thaank you so much
@maryta22
@maryta22 4 жыл бұрын
Thanks! :)
@pranayhusukale2666
@pranayhusukale2666 4 жыл бұрын
Plz make more videos on DSA
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Yes pranay, many more coming up soon ✌
@ggnitika11
@ggnitika11 3 жыл бұрын
blogon is the average case scenario. worst case for quick sort can still be O(n^2)
@anchalpandey2787
@anchalpandey2787 4 жыл бұрын
thanks for the video
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
You're welcome
@Nseconds
@Nseconds 4 жыл бұрын
Good
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Thank you 😇
@keerthig8139
@keerthig8139 3 жыл бұрын
Can we write quick sort in terative call.? Is it possible.?
@gopishmahajan5098
@gopishmahajan5098 3 жыл бұрын
Better than harry
@SimpleSnippets
@SimpleSnippets 3 жыл бұрын
That's a big compliment ✌️ I guess everyone's got their teaching style so it's different for everyone 😊 Thank you for the kind words 🙏
@harishgehlot__
@harishgehlot__ 4 жыл бұрын
Hii me harish,will you explain heap sort please
@bhanuteja9408
@bhanuteja9408 4 жыл бұрын
1 small doubt....is it tanmay sakpal simple snippets or tanmay offer simple snippets...😂😂
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
Haha it's Simple Snippets by Tanmay Sakpal 😊
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 101 МЛН
Quick Sort Theory | DSA
21:18
Telusko
Рет қаралды 26 М.
Quicksort Algorithm: A Step-by-Step Visualization
9:32
Quoc Dat Phung
Рет қаралды 67 М.
Learn Quick Sort in 13 minutes ⚡
13:49
Bro Code
Рет қаралды 389 М.
Explaining EVERY Sorting Algorithm (part 1)
35:35
Kuvina Saydaki
Рет қаралды 174 М.
Quicksort algorithm
20:39
mycodeschool
Рет қаралды 1,8 МЛН
Quick Sort - Data Structures & Algorithms Tutorial Python #15
31:17