• Tiefling IRL
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 month ago

    Most of the time O(n^2) is optimized to O(n log n). You’ll get some sort of award if you can figure out a sorting function that runs in O(n).