Cody

Solution 1742588

Submitted on 5 Mar 2019 by nag
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 = 1; y = [ 1 2 1 2 5 2 5 5] y_correct = [2 2 5 2 5 5]; assert(isequal(Deleting(x,y),y_correct))

y = 1 2 1 2 5 2 5 5

2   Pass
x = 12; y = [ 12 5 9 12 17 21 12 29 33 12] y_correct = [5 9 17 21 29 33 ]; assert(isequal(Deleting(x,y),y_correct))

y = 12 5 9 12 17 21 12 29 33 12