o-notation

Discussion in 'C++' started by zoro, Nov 7, 2006.

  1. zoro

    zoro Guest

    i have question regarding o-notation.
    how does using strings insted of simple types like integers alter the
    o-notation of operations.
    zoro, Nov 7, 2006
    #1
    1. Advertising

  2. 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
    Victor Bazarov, Nov 7, 2006
    #2
    1. Advertising

  3. zoro

    Mike Wahler Guest

    "zoro" <> wrote in message
    news:...
    >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
    Mike Wahler, Nov 8, 2006
    #3
  4. zoro

    Phlip Guest

    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!!!
    Phlip, Nov 8, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andreas H?lscher

    hex notation

    Andreas H?lscher, Dec 10, 2003, in forum: VHDL
    Replies:
    2
    Views:
    23,023
    Egbert Molenkamp
    Dec 10, 2003
  2. =?ISO-8859-1?Q?Andreas_H=F6lscher?=

    hex notation

    =?ISO-8859-1?Q?Andreas_H=F6lscher?=, Dec 10, 2003, in forum: VHDL
    Replies:
    6
    Views:
    9,416
    Jim Lewis
    Dec 12, 2003
  3. Grey Squirrel

    Hungarian Notation Vs. Pascal Notation?

    Grey Squirrel, Mar 19, 2007, in forum: ASP .Net
    Replies:
    6
    Views:
    1,275
    Steve C. Orr [MCSD, MVP, CSM, ASP Insider]
    Mar 21, 2007
  4. Tameem
    Replies:
    454
    Views:
    11,604
  5. Robert Mark Bram

    Dot notation V Bracket notation

    Robert Mark Bram, Jul 4, 2003, in forum: Javascript
    Replies:
    3
    Views:
    459
    Robert Mark Bram
    Jul 5, 2003
Loading...

Share This Page