Cody

# Problem 89. Counting in Finnish

Solution 2642185

Submitted on 2 Jul 2020
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   Fail
a = [1 2 3 4 5 6 7 8 9 0]; b = [8 2 3 6 4 0 7 5 9 1]; out = finnishOrdering(a); assert(isequal(out, b));

sec = 1 2 3 4 5 6 7 8 9 10 c = 8 2 3 6 4 0 7 5 9 1

Output argument "b" (and maybe others) not assigned during call to "finnishOrdering". Error in Test1 (line 3) out = finnishOrdering(a);

2   Fail
a = [1 1 1 2 0 4 5 3 7 2 9 8 9]; b = [8 2 2 3 4 0 7 5 9 9 1 1 1]; out = finnishOrdering(a); assert(isequal(out, b));

sec = 1 2 2 3 5 6 7 8 9 9 10 10 10 c = 8 2 2 3 4 0 7 5 9 9 1 1 1

Output argument "b" (and maybe others) not assigned during call to "finnishOrdering". Error in Test2 (line 3) out = finnishOrdering(a);

3   Fail
a = [0 0 0 1 5 4 3 2 7 5 9]; b = [2 3 4 0 0 0 7 5 5 9 1]; out = finnishOrdering(a); assert(isequal(out, b));

sec = 2 3 5 6 6 6 7 8 8 9 10 c = 2 3 4 0 0 0 7 5 5 9 1

Output argument "b" (and maybe others) not assigned during call to "finnishOrdering". Error in Test3 (line 3) out = finnishOrdering(a);

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!