Question: Need help right now please Question 1 public static int fe(int x, int y) { int z = x + y; return z; } O(1)
Need help right now please





Question 1 public static int fe(int x, int y) { int z = x + y; return z; } O(1) Odlog N) O(N) O(N log N) O O(N2) Question 2 public static int f1(int x, int y) { int z = x*y; return z; } O O(1) Odlog N) O(N) O O(N log N) O O(N2) Question 3 public static int f2(int x, int y) { int z = 0; for (int i = 0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
