> I have a 1D array of elements from 1 to 100. each number is repeated
> more than once in the array. i want to search the index when a new
> number is found for the first time in my array. if my array is
> {1,1,1,2,2,2,2,3,3,3,3,3,4,4,5,5,5,5} i want to find the index
> when 1,2,3,4,5, are
I have a 1D array of elements from 1 to 100. each number is repeated
more than once in the array. i want to search the index when a new
number is found for the first time in my array. if my array is
{1,1,1,2,2,2,2,3,3,3,3,3,4,4,5,5,5,5} i want to find the index
when 1,2,3,4,5, are occured f