adplus-dvertising
frame-decoration

Question

If for an algorithm time complexity is given by O(n) then the complexity of it is ___________

a.

constant

b.

linear

c.

exponential

d.

none of the mentioned

Posted under Discrete Mathematics

Answer: (b).linear

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If for an algorithm time complexity is given by O(n) then the complexity of it is ___________