Master Data Structures & Algorithms For FREE at AlgoMap.io!
@venkateshk816Ай бұрын
hey Greg so far you explained the nightmare of sorting(quicksort) very simply but it would be better to include the pivot elements with different positions like it is easy to do picking pivot at last or first but when considering the pivot at the middle element as a pivot i am getting little bit of confused in the part of list comprehension will you make a video of it or you can explain me in this chat
@dolamuoludare4383Ай бұрын
Thank you greg
@harshgamer61055 ай бұрын
damn! this is by far the easiest tutorial on quick sort, others were making it too complex!, thanks greg!
@SARABESHKANISHKARVADАй бұрын
this is the easiest tutorial on quick sort I have seen
@Everafterbreak_3 ай бұрын
your content is incredible!
@GregHogg3 ай бұрын
Thank you!
@adm7rАй бұрын
i'm following algomap, but don't see a link to this video in any of the sections, why?
@GregHoggАй бұрын
It's important theory, but not really that essential for most problems in my opinion
@adm7rАй бұрын
@@GregHoggmakes sense, thank you for the reply
@creativeusername44005 ай бұрын
thank you greg you deserve a million subs!
@GregHogg5 ай бұрын
Thank you! Trying my hardest to get there haha
@amaliyaakopyan9200Ай бұрын
@@GregHogg it is so pleasant to watch drawing how algorithm actually runs. this proper visualization makes understanding so much easier. btw, got count sort on my interview)
@RaghuPratap-of8xs4 ай бұрын
what is the use of i
@sayyidmogaka67547 күн бұрын
It’s used as an index when iterating through the array,i is the conventional one but you can use any letter
@SpaceTalon5 ай бұрын
Nice!
@prashanthnellutla66812 ай бұрын
Counting sort was overwhelming and overkill
@produceutopia5 ай бұрын
Doesn't your implementation of quick sort use O(n log(n)) space as you are creating many new lists?
@fantastic-b2m5 ай бұрын
it only creates one additional list which he named it as counts
@produceutopia5 ай бұрын
No, he creates a new R and L list each time and passes them down
@GregHogg5 ай бұрын
Yes but not all are present at the same time
@produceutopia5 ай бұрын
@@GregHogg So at most at one time, they will have O(n) space in total?
@kleejensen86843 ай бұрын
What about heap sort???
@Ganesh-lm5dx2 ай бұрын
he has a separate video for heap data structure and it is pretty easy to understand
@Chandhu9875 ай бұрын
explain with user input list
@GregHogg5 ай бұрын
What
@ashiyashaikh52755 ай бұрын
❤
@Everafterbreak_3 ай бұрын
are you drawing using the mouse? i need these skills. lmaooo