Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > o-notation

Reply
Thread Tools

o-notation

 
 
zoro
Guest
Posts: n/a
 
      11-07-2006
i have question regarding o-notation.
how does using strings insted of simple types like integers alter the
o-notation of operations.

 
Reply With Quote
 
 
 
 
Victor Bazarov
Guest
Posts: n/a
 
      11-07-2006
zoro wrote:
> i have question regarding o-notation.
> how does using strings insted of simple types like integers alter the
> o-notation of operations.


I think instead of O(N) you then should use O("N")

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask


 
Reply With Quote
 
 
 
 
Mike Wahler
Guest
Posts: n/a
 
      11-08-2006

"zoro" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) lkaboutprogramming.com...
>i have question regarding o-notation.
> how does using strings insted of simple types like integers alter the
> o-notation of operations.


Not at all.

-Mike


 
Reply With Quote
 
Phlip
Guest
Posts: n/a
 
      11-08-2006
Mike Wahler wrote:

> zoro wrote:


>>i have question regarding o-notation.
>> how does using strings insted of simple types like integers alter the
>> o-notation of operations.

>
> Not at all.
>
> -Mike


Correction: They might make the O a little bigger. Mike meant they don't
change the stuff around the O that depends on n.

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments