Closed dejokz closed 3 years ago
Please add all the partitions at the same time. Don't push one by one. That just increases the complexity.
fixes made: 1)partition wasn't returning the index 2)quicksort_hoare wasn't recursively called.
Please add all the partitions at the same time. Don't push one by one. That just increases the complexity.
do you mean using threads??
Please add all the partitions at the same time. Don't push one by one. That just increases the complexity.
do you mean using threads??
I mean to say, if there are any other partition methods as well for the Quicksort, then please add them too in the same PR, if you don't want to add them let me know, I will merge it.
I mean to say, if there are any other partition methods as well for the Quicksort, then please add them too in the same PR, if you don't want to add them let me know, I will merge it.
There is multi-pivot partitioning. But the main ones are the hoare and lumoto which has been added.
If multi-pivot partitioning needs to be implemented I can. Assign the task to me and I'll get working on it.
I mean to say, if there are any other partition methods as well for the Quicksort, then please add them too in the same PR, if you don't want to add them let me know, I will merge it.
There is multi-pivot partitioning. But the main ones are the hoare and lumoto which has been added.
If multi-pivot partitioning needs to be implemented I can. Assign the task to me and I'll get working on it.
No it's alright if the main pivots are added. Merging it.
Hoare partition has been added.