Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Which of the following is not O(n^2)?a)(15^10... Start Learning for Free
Which of the following is not O(n^2)?
  • a)
    (15^10) * n + 12099
  • b)
    n^1.98
  • c)
    n^3 / (sqrt(n))
  • d)
    (2^20) * n
Correct answer is option 'C'. Can you explain this answer?
Most Upvoted Answer
Which of the following is not O(n^2)?a)(15^10) * n + 12099b)n^1.98c)n^...
Explanation:
O(n^2) denotes that the time complexity of an algorithm is proportional to the square of the size of the input data.

a) (15^10) * n - This is O(n^2) because the n term dominates the constant term.

b) n^1.98 - This is not O(n^2) because the power of n is less than 2.

c) n^3 / (sqrt(n)) - This is not O(n^2) because the square root term is less than the n^2 term.

d) (2^20) * n - This is O(n^2) because the n term dominates the constant term.

Therefore, option C is not O(n^2).
Free Test
Community Answer
Which of the following is not O(n^2)?a)(15^10) * n + 12099b)n^1.98c)n^...
The order of growth of option c is n2.5 which is higher than n2.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Question Description
Which of the following is not O(n^2)?a)(15^10) * n + 12099b)n^1.98c)n^3 / (sqrt(n))d)(2^20) * nCorrect answer is option 'C'. Can you explain this answer? for Computer Science Engineering (CSE) 2025 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Which of the following is not O(n^2)?a)(15^10) * n + 12099b)n^1.98c)n^3 / (sqrt(n))d)(2^20) * nCorrect answer is option 'C'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Which of the following is not O(n^2)?a)(15^10) * n + 12099b)n^1.98c)n^3 / (sqrt(n))d)(2^20) * nCorrect answer is option 'C'. Can you explain this answer?.
Solutions for Which of the following is not O(n^2)?a)(15^10) * n + 12099b)n^1.98c)n^3 / (sqrt(n))d)(2^20) * nCorrect answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Which of the following is not O(n^2)?a)(15^10) * n + 12099b)n^1.98c)n^3 / (sqrt(n))d)(2^20) * nCorrect answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Which of the following is not O(n^2)?a)(15^10) * n + 12099b)n^1.98c)n^3 / (sqrt(n))d)(2^20) * nCorrect answer is option 'C'. Can you explain this answer?, a detailed solution for Which of the following is not O(n^2)?a)(15^10) * n + 12099b)n^1.98c)n^3 / (sqrt(n))d)(2^20) * nCorrect answer is option 'C'. Can you explain this answer? has been provided alongside types of Which of the following is not O(n^2)?a)(15^10) * n + 12099b)n^1.98c)n^3 / (sqrt(n))d)(2^20) * nCorrect answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Which of the following is not O(n^2)?a)(15^10) * n + 12099b)n^1.98c)n^3 / (sqrt(n))d)(2^20) * nCorrect answer is option 'C'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev