I\'m doing an exercise from Sedgewick\'s Algorithms textbook, the exercise is to find the number of compares for quicksort. Below is my code:
import edu.princeton