Question 1 Which sorting algorithm is implemented here?
Question 2What is the time complexity of this sort in the worst case?
Question 3Have a look at the array below. We are trying to do quicksort on this array to sort it in ascending order. We wrote an algorithm that always takes the middle element as pivot. How the array will look like after first iteration(write in this format: 11,12,13,14,15)Array: 812 734 689 155 667 368 964 831 167 .
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here