Using a list of 15 numbers, I need to give a list representing the best and worst case scenario. It says \"q.s. uses the first item in the list as the pivot item\". I\'m n
It looks correct to me. If you are using quicksort with first element as the pivot then you want the first element to be the middle value of the array. The ideal pivot has an even amount of elements on each side.