federate.cc
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 1 年前

O of what now

sh.itjust.works

message-square
15
link
fedilink
361

O of what now

sh.itjust.works

alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 1 年前
message-square
15
link
fedilink
alert-triangle
You must log in or # to comment.
  • Mikina@programming.dev
    link
    fedilink
    arrow-up
    64
    ·
    1 年前

    O(fuck)

    • sfxrlz@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      1 年前

      O(unnecessary zoom meeting)

  • ruckblack@sh.itjust.works
    link
    fedilink
    arrow-up
    38
    arrow-down
    1
    ·
    1 年前

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

    • magic_lobster_party@kbin.run
      link
      fedilink
      arrow-up
      31
      ·
      1 年前

      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
    33
    ·
    1 年前

    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
    1 年前

    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
      ·
      1 年前

      Ok. What about n=5?

      • hperrin@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 年前

        • Alexstarfire@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 年前

          That does seem to be a tad inefficient.

  • xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    21
    ·
    1 年前

    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
      ·
      1 年前

      Get out of my office

    • Alienmonkey@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 年前

      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
    9
    ·
    1 年前

    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
    ·
    1 年前

    O(TREE(n))

  • chuckleslord@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 年前

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.

  • 92 users / day
  • 334 users / week
  • 2.1K users / month
  • 6.62K users / 6 months
  • 1 local subscriber
  • 40K subscribers
  • 1.94K Posts
  • 37.5K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org