History of Idiom 218 > diff from v18 to v19
Edit summary for version 19 by programming-idioms.org:
[Rust] We want intersection, not union
[Rust] We want intersection, not union
↷
Version 18
2020-07-15, 18:51:22
Version 19
2020-07-18, 23:31:27
Idiom #218 List intersection
Create list c containing all unique elements that are contained in both lists a and b.
c should not contain any duplicates, even if a and b do.
The order of c doesn't matter.
Idiom #218 List intersection
Create list c containing all unique elements that are contained in both lists a and b.
c should not contain any duplicates, even if a and b do.
The order of c doesn't matter.
Comments bubble