Hi list,
I need to find the most commonly occurring item in an integer array, but
without using a repeat
I'm not entirely sure it's possible but if anyone has any thoughts it would
be very much appreciated.
Jules
This gives the number of occurrences for each array element, so from
that you should be able to figure out which one occurs the most...
http://screencast.com/t/Foql8llxT
On 03/03/2013 4:41 AM, Jules Stevenson wrote:
Hi list,
I need to find the most commonly occurring item in an integer array
Thank you all, this is all gold. It was a toughie too, my brain ran out of
space trying to sort it...
On Sun, Mar 3, 2013 at 4:00 PM, Julian wrote:
> Here's a way without generate sample set or repeats. I think it works OK
> but doesn't cater for scenarios where you have two elements that have t
3 matches
Mail list logo