• Noughtmare@programming.devOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    13 days ago

    Also, I think the ‘find’ operation could be replaced by an operation that checks if two elements are in the same set. That way you don’t have to come up with a “name”.