Question: 2. Below are seven functions of integer variable n. Sort these functions in increasing order of their running times. (a) 1.2n (b) n log n

2. Below are seven functions of integer variable n. Sort these functions in increasing order of their running times.

  1. (a) 1.2n
  2. (b) n

log n (c) n1/2 + 1n!

8 (d) nlogn+n9

  1. (e) n1/3 log n
  2. (f) 11(log n)2
  3. (g) 5n2 +2logn

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 Mathematics Questions!