Ask Question

Which is the highest in complexity?

A. (n) * 2n

B. (n2) * n

C. n2

D. nlog (n)

E. 3n

+2
Answers (1)
  1. 17 August, 02:30
    0
    B. (n2) * n.

    Explanation:

    The highest complexity is (n2) * n because on solving it will come out to be n³. So the growth rate is of cubical order which is the highest among the options.

    (n) * 2n is of the order of square. On solving it will be 2n².

    n² is also of the order of square.

    nlogn complexity is less than n² but greater than n.

    3n is of linear complexity. It has the lowest complexity among the options.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which is the highest in complexity? A. (n) * 2n B. (n2) * n C. n2 D. nlog (n) E. 3n ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers