CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Sep 2005
    Posts
    336

    Computational Complexity

    Code:
    for ( int i = 0; i < 100; i++)
    {
    }
    Is complexity for this loop O(1) or O(n)?
    Last edited by sawer; November 25th, 2008 at 09:53 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured