Question: choose correct answer: 1-2. Let 1 () = 2 4 + 2 3 + 2 . The time complexity of f(n) is; a. O(n3 )
choose correct answer:
1-2. Let 1 () = 2 4 + 2 3 + 2 . The time complexity of f(n) is;
a. O(n3 ) b. O(n4 ) c. o(n3 ) d. o(n4 )
1-3. Let 2 () = 2 + 22 . The time complexity of f2(n) is;
a. O(n log2 n) b. O(n log n) c. O(n log log n) d. O(n log2 log2 n)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
