1. Implement a generic version of Quick sort algorithms (usestatic method).2. During the implementations count how many comparisons each algorithm required forperforming ascending order sorting. Print that count.3. Test your algorithms by taking two random list: one will take Double type value and other will take String type value (this will verify your generic implementation). Invoke each of the sorting algorithm by passing one list at a time and display both the original list and the sorted list.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here