in reply to How do I find if an array has duplicate elements, if so discard it?

Depending how your building your data structure, it might make more sense to only add an array to @D, if that array has no duplicates. It being easier to not add it than to later remove it.

  • Comment on Re: Clarify: How do I find if an array has duplicate elements, if so discard it?