Array Content: Difference between repeated and duplicated elements?
BARJ opened this issue · comments
Jasper Barzilaij commented
What is the difference between repeated and duplicated elements in a sequence?
To me "duplicated" and "repeated" are synonyms.
I think they can either mean 2 things:
- Repeated elements are consecutive and duplicated elements are consecutive, or;
- Repeated elements are references to the same object and duplicated values are copies of an object
Jasper Barzilaij commented
I think I answered my own question: Repeated elements are references to the same object and duplicated values are copies of an object