Sky-Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 9 months ago

O of what now

sh.itjust.works

message-square
15
fedilink
364

O of what now

sh.itjust.works

alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 9 months ago
message-square
15
fedilink
alert-triangle
You must log in or register to comment.
  • Mikina@programming.dev
    link
    fedilink
    arrow-up
    65
    ·
    9 months ago

    O(fuck)

    • sfxrlz@lemmy.world
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      9 months ago

      O(unnecessary zoom meeting)

  • ruckblack@sh.itjust.works
    link
    fedilink
    arrow-up
    38
    arrow-down
    1
    ·
    9 months ago

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

    • magic_lobster_party@kbin.run
      link
      fedilink
      arrow-up
      31
      arrow-down
      1
      ·
      9 months 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
    35
    ·
    9 months 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
    23
    ·
    edit-2
    9 months 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
      1
      ·
      5 months ago

      Ok. What about n=5?

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

        • Alexstarfire@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          4 months ago

          That does seem to be a tad inefficient.

  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    21
    ·
    9 months 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
      6
      ·
      9 months ago

      Get out of my office

    • Alienmonkey@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      9 months ago

      Bubble sort? This wizard talk shall not pass.

      My god, some of us can’t read past select queries and v-lookup ruins.

      On a Friday no less.

  • gravitas_deficiency@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    10
    ·
    9 months 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)

  • puchaczyk@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    6
    ·
    9 months ago

    O(TREE(n))

  • chuckleslord@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    9 months ago

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.

  • 309 users / day
  • 695 users / week
  • 1.86K users / month
  • 10.7K users / 6 months
  • 1 local subscriber
  • 35.6K subscribers
  • 1.71K Posts
  • 36.6K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org