• morrowind@lemmy.ml
    link
    fedilink
    English
    arrow-up
    8
    ·
    11 months ago

    You’ve gotten it a bit mixed up. The n is the array size, not the number of universes. It takes O(n) to check if the array is sorted, and this happens once in every universe.

    You seem to be envisioning some sord of 5D cross-universe program.