Hi,
Can someone share methods to randomize array to get unique max value?
Let’s say.
int unsigned A[9];
The solution has to meet 2 criteria:
1.all the elements inside {[0:9]}
2.max value of A[9] is unique.
A possible solution is A[9] = '{0,0,0,0,0,0,0,0,1}.
Thanks.