in reply to Re^3: How do I remove the duplicates from the array?
in thread How do I remove the duplicates from the array?
hmm ... ok my understanding was to discard if all are maximum, see (3,3,3)
But your definition is indeed closer to the naming highlander, maybe peak was better.
For highlander compare with [-2] if there are more than 2 elements.
BTW: "cryptic" is an euphemism for incompetent ... if you can't express such a problem in words you don't deserve being called a programmer.
Cheers Rolf
( addicted to the Perl Programming Language)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How do I remove the duplicates from the array?
by hdb (Monsignor) on Sep 26, 2013 at 14:48 UTC | |
by LanX (Saint) on Sep 26, 2013 at 14:53 UTC |