If an array is sorted does the efficiency change using a quicksort alg when the initial pivot value changes?
If the array is already sorted and you run a quicksort algorithm and choose a pivot point in the middle of the array instead of at one towards one side does it change the efficiency?
No comments:
Post a Comment