Question: java!!! What is the order of the method below? public static int method(int[] array) for (int i array) for (int array) return it: O A.
java!!!
What is the order of the method below? public static int method(int[] array) for (int i array) for (int array) return it: O A. 0(1)-constant OB. O(log(n)- logarithmic O C. O(n 2) - quadratic D. O(n) - linear
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
