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 <[email protected]> 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 the
> same number of occurrences. In that instance it takes the integer with the
> highest value. In essence it looks for the largest 'distance' between the
> sub indices of the points where your sorted array changes value.
>
> https://dl.dropbox.com/u/**69741069/jules.rar<https://dl.dropbox.com/u/69741069/jules.rar>
>

Reply via email to