Noughtmare to HaskellEnglish · 18 天前Competitive Programming in Haskell: Union-Findbyorgey.github.ioexternal-linkmessage-square4fedilinkarrow-up110arrow-down10
arrow-up110arrow-down1external-linkCompetitive Programming in Haskell: Union-Findbyorgey.github.ioNoughtmare to HaskellEnglish · 18 天前message-square4fedilink
minus-squareNoughtmareOPlinkfedilinkEnglisharrow-up1·18 天前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”.
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”.