• @xmunk@sh.itjust.works
      link
      fedilink
      51 year ago

      I set k to 50,000,000,000… that’s more items than my shitty computer can fit in memory (including swsp) but I am now happy to celebrate my O(1) algorithm.

    • KubeRoot
      link
      fedilink
      21 year ago

      By that logic, any sorting implementation is O(1), as the indexing variable/address type has limited size