-7

Find out the c and n0. Please explain with the steps.

Venkatesh K
  • 4,364
  • 4
  • 18
  • 26

1 Answers1

2

limit as n --> infinity of (n+1)^5 / n^5 = 1.

This is neither 0 nor infinity, so they have the same complexity. This complexity is traditionally written as O(n^5).

This does assume that each step is constant for whatever you are measuring.

Gordon Linoff
  • 1,242,037
  • 58
  • 646
  • 786