Question: HELP Suppose function func 1 ( n ) has a running time of O ( log n ) and function func 2 ( n )

HELP Suppose function func1(n) has a running time of O(log n) and function func2(n) has a running time of O(2n). What is the running time complexity for running both func1(n) and func2(n), using asymptotic notation?
a. O(log n)* O(2n)
b. O(log n)+ O(2n)
c. O(log n)
d. O(2n)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!