Cody

Solution 2178780

Submitted on 27 Mar 2020 by yusuf sali
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
x = [0,1,2,3,4]; y_correct = [4,3,2,1,0]; assert(isequal(desSort(x),y_correct))

c = [] c = 0 c = 0 1 c = 0 1 2 c = 0 1 2 3 c = 0 1 2 3 4 yedek = 4 x = 0 1 2 3 0 x = 4 1 2 3 0 c = [] c = 4 c = 4 1 c = 4 1 2 c = 4 1 2 3 yedek = 3 x = 4 1 2 1 0 x = 4 3 2 1 0 c = [] c = 4 c = 4 3 c = 4 3 2 yedek = 2 x = 4 3 2 1 0 x = 4 3 2 1 0 c = [] c = 4 c = 4 3 yedek = 3 x = 4 3 2 1 0 x = 4 3 2 1 0 c = [] c = 4 yedek = 4 x = 4 3 2 1 0 x = 4 3 2 1 0 y = 4 3 2 1 0

Suggested Problems

More from this Author1