olimex.wordpress.com
WEEKEND PROGRAMMING CHALLENGE ISSUE #2
Problem: If A[N] is array of N integers. Shuffle the elements of A in such way that the differences between each neighbour elements d[i] = A[i]-A[i+1] make row in ascending order. For instance: A[4…