Live data from Hacker News

Viewing profile — asdginioubnou

asdginioubnou

HN member
Joined
Sat, May 02, 2020, 7:05 PM UTC
HN karma
8
Public activity
5 items

About asdginioubnou

No profile information was provided.

Recent public activity

  1. comment
    Comment #23056200

    >Let's say there are M different characters in the alphabet and N different characters in the string. I mean "N characters in the string", i.e. the string is length N. There won't …

  2. comment
    Comment #23056051

    That doesn't make a difference asymptotically, though it obviously makes a big difference in practice.

  3. comment
    Comment #23054373

    The second solution is safer than the first. While it will sometimes be slower, it will never be catastrophically bad. It may have a small, predictable overhead, but it will never …

  4. comment
    Comment #23054121

    Both solutions are O(1). The alphabet is finite. Let's say there are M different characters in the alphabet and N different characters in the string. If there is a duplicate, it is…

  5. comment
    Comment #23054088

    It's definitely wrong. A lot of people use "order of magnitude" to just mean "a lot". I always use the precise meaning. It might be better for me to say "factor of ten" rather than…