Marius’s Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alphacyberranger@sh.itjust.works
cake
to Programmer Humor@lemmy.mlEnglish · 1 year ago

O of what now

sh.itjust.works

external-link
message-square
13
link
fedilink
54
external-link

O of what now

sh.itjust.works

alphacyberranger@sh.itjust.works
cake
to Programmer Humor@lemmy.mlEnglish · 1 year ago
message-square
13
link
fedilink
alert-triangle
You must log in or # to comment.
  • Mikina@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    1 year ago

    O(fuck)

    • sfxrlz@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      O(unnecessary zoom meeting)

  • ruckblack@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    It’s not like anyone cares once you have the job anyway

    • magic_lobster_party@kbin.run
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Usually the most straightforward solution is good enough. And when you want to improve the performance, it’s rarely about time complexity.

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    at job interview

    “ah sure, I’ll solve it in n log(n) for you with an obscure algorithm because n² is too slow for your 1000 customers, even though there’s no perceived difference for n<10⁷.”

  • hperrin@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 year ago

    O(n!n!)

    It works really well, until n=3, which takes a while. Don’t ask about n=4.

    • Alexstarfire@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      8 months ago

      Ok. What about n=5?

      • hperrin@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        8 months ago

        • Alexstarfire@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          8 months ago

          That does seem to be a tad inefficient.

  • chuckleslord@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

  • gravitas_deficiency@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    We will also accept “I’ll file a ticket under the tech debt epic” (which will never get picked up unless/until it causes a prod outage/SLA violation)

  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Acshually, in the context of O(N^2) N can be seen to constantly be equal to N and thus, as a constant, we can ignore it in our O analysis.

    Yes, my bubble sort does run in O(1)

    • Trailblazing Braille Taser@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Get out of my office

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 244 users / day
  • 593 users / week
  • 1.84K users / month
  • 6.68K users / 6 months
  • 1 local subscriber
  • 38.1K subscribers
  • 1.86K Posts
  • 34.8K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.19.12
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org