• Julian@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Any algorithm can be O(1) if you cache all the answers beforehand.