• NeatNit
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    1 day ago

    Really annoys me that this is actually O(n log n) because for large enough n the merge sort will take longer than n*1e6 second. Randall should know better!

    • Gustephan@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      18 hours ago

      You should know better too! Behaviour at large n is irrelevant to “best case” complexity analysis of sorting algorithms