Quick Sort Algorithm Time Complexity