Consider the following three function: f1 = 10n, f2 = nlogn, f3 = n√n
Which one of the following options arrange the functions in the increasing order of asympotic growth rate?
A
f2, f3, f1
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
f1, f2, f3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
f2, f1, f3
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
f3, f3, f1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is Af2, f3, f1 f2 : nlognf3 : n√n
log (nlogn) log n√n = (log n) . (log n) = √n . log n ∴nlogn = O(n√n) (f2 < f3) ∴f1 > f3 > f2
In increasing order of asympotic growth rate.