Cody

Solution 1532043

Submitted on 17 May 2018 by J. S. Kowontan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
for permlength = 1:100 perm = randperm(permlength); invPerm = inversePermutation(perm); assert(isequal(perm(invPerm),1:permlength)) end

Suggested Problems