Consider the data type Temp defined below.

public class Temp implements Comparable<Temp> { private final double deg; public Temp(double deg) { this.deg = deg; } public int compareTo(Temp that) { double EPS = 0.1; if (this.deg < that.deg - EPS) return -1; if (this.deg > that.deg + EPS) return +1; return 0; } }Which of the following required properties of the Comparable interface does the compareTo() method violate?

How many compares does selection sort make when the input array is already sorted?

How many compares does insertion sort make on an input array that is already sorted?

^{52}

^{52}