• Jimbabwe@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days ago

    Insertion: stick it on the end O(1) Retrieval: BOGO sort your list and return the first item. It’s O(1) in the best case.

    Checkmate, nerds!