Thanks Norm. This code is full of mistakes, i'm finding out, but i've been fixing them one by one.
I think I fixed the counts, but I broke some other stuff on the way :confused:
Quick sort is now...
Type: Posts; User: husain2213
Thanks Norm. This code is full of mistakes, i'm finding out, but i've been fixing them one by one.
I think I fixed the counts, but I broke some other stuff on the way :confused:
Quick sort is now...
no, its not completely solved yet! here is what's wrong:
1- quick sort still takes forever for larger array sizes (I don't think it is supposed to).
2- comparison count returned by quicksort is...
I think there was a problem in my swap() method, but its fixed now and the arrays are sorted.
There are no infinite loops, but quicksort is.. well, not quick. It takes forever and doesn't return a...
Hello everyone,
I'm having trouble with my assignment and need you're help!
I'm supposed to write the code for bubblesort and quicksort and test them under different array sizes while recording the...