O-нотация, O (∞) = O (1)?

So a quick thought; Could one argue that O(∞) is actually O(1)?

  • I mean it isn't depend on input size?
  • So in some way its, constant, even though it infinity.

Or is the only 'correct' way to express it O(∞)?

12
задан SLaks 11 April 2011 в 20:52
поделиться