Question:medium

What is the time complexity in Big-Oh notation for \[ f(n)=a_{m}n^{m}+\cdots+a_{1}n+a_{0}? \]

Show Hint

For polynomial functions, Big-Oh complexity is determined by the highest power of \(n\). Example: \[ 5n^4+2n^2+10 \] has complexity \[ O(n^4). \]
Updated On: Jun 25, 2026
  • \(O(n^2)\)
  • \(O(n^3)\)
  • \(O(2^n)\)
  • \(O(n^m)\)
Show Solution

The Correct Option is D

Solution and Explanation

Was this answer helpful?
0