Hi Guys
Ive come accross an interesting application which sorts out an array. Nothing special about that right? But then it gets a bit messy as it can sort out numerous array based on the original.
So Lets say I provide it with an Array of 4 number (3,4,1,2) and want it descending the output is (4,3,2,1) perfect.
Now if i provided it with another Array of 4 (7,5,8,9) I get (5,8,7,9).
So bit of a math probelm to solve guys.
How does 4,3,2,1 correlate with 5,8,7,9?
As part of the problem the code for the app is hidden so i cant provide any :(