✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Qual a complexidade temporal do método allEqual no pior caso? // What is the worst-case time complexity of the method allEqual?/** * * @param numbers : The array is completely full. * @return */public static boolean allEqual(int[] numbers) { int x=numbers[0]; int i=1; while (i<numbers.length && x==numbers[i]) i++; return i==numbers.length;}