Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
2.9k views
in Computer by (41.3k points)
closed by

Which of the given options provides the increasing order of asymptotic complexity of functions f1, f2,f3 and f4?

f1(n) = 2n;  f2(n) = n3/2; f3(n) = nlog2 n; f4(n) = nlog2n

(A) f3, f2, f4,f1 

(B) f3, f2, f1,f4 

(C) f2, f3, f1,f4

(D) f2, f3, f4,f1

1 Answer

+1 vote
by (44.8k points)
selected by
 
Best answer

Correct option is (A) f3, f2, f4,f1 

Let n = 1024

f1(n) = 21024

f2(n) = 215

f3(n) = 10 x 210

f4(n) = 102410 = 2100

∴ f3, f2, f4, fis the required increasing order.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...