Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [{1}, {2}, {3}, {1}]
- [{1}, {2}, {3}] # expected result
- example.map(frozenset).distinct().map(set).collect()
- # [{1}, {2}, {3}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement