• @sfxrlz
      link
      102 months ago

      O(unnecessary zoom meeting)

    • magic_lobster_party
      link
      fedilink
      292 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
    link
    English
    332 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
    link
    21
    edit-2
    2 months ago

    O(n!n!)

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

  • @[email protected]
    link
    fedilink
    202 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)

  • @[email protected]
    link
    fedilink
    English
    102 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)