• noddy@beehaw.org
    link
    fedilink
    arrow-up
    13
    ·
    11 months ago

    I know an even better way. We can make it run in O(1) by using a lookup table. We only need to store 2^64 booleans in an array first.